Hello excellent Moralis community.
I come to you as always as a consultation for your kind willingness to help.
Thank you in advance.
The question is what would be the most appropriate and cheapest way in relation to gas to order some values associated with some accounts.
For example, we have a mapping of key address and value of positions 1, 2, 3.
And another mapping with the same address but this time associated with scores, e.g. 100, 633, 321.
What I am looking for is to order the first mapping in relation to the values of the second one.
It occurs to me to do it with an array instead of with a second mapping. But the handling of arrays is very expensive and I imagine that there will be another way to do it cheaper.
Any idea?