How can I sort JSON data? I found nice example how json and array for my hight scores?
Example is here:
Develop games in your browser. Powerful, performant & highly capable.
I don't think it is possible to sort JSON data straight forward but you can load the JSON data into array, then just sort the array.
Ok it's done!
EDIT: There is a little mistake: this is file for sorting text, if you want numbers, conversion to number (adding int()) must be done