Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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