I am wondering on how :GetOrderedDataStore would work when arrays/tables are stored. I am working on making a leaderboard that orders users with the highest amount of Score, however, in my DataStore, I store a dictionary like this: {Score= ,Level= ,}, of course I store the values, that was just a demenstration. But, I want to order it in Score, and not in all of the dictionary’s content. How would I do that?
Basically: How to order a DataStore based on a value in a dictionary?
Just here to bump because I hadn’t found a solution yet. I also realised that I didn’t quite word my original question, so basically: How to get all of the elements from a DataStore?
Ordered data stores cannot store anything that isn’t a positive unsigned integer so I’m surprised that wasn’t an issue you encountered when you posted this thread initially.
ListKeysAsync if you want to get all items in a DataStore.