Hey,
I have a problem with the order of the keys in the title data.
When I created the key level10 (which contains 1),he showing before level2, which I created the before.
Is there a way to play with it?
Hey,
I have a problem with the order of the keys in the title data.
When I created the key level10 (which contains 1),he showing before level2, which I created the before.
Is there a way to play with it?
The key value in title data is a String value and the sorting method is like files ordered by name in the file system.
There are few workaround solutions to this issue, for example, you can name those less than 10 levels like level01, level02, level03… which means keeping the numbers at the end having the same format, which can be 2 digits. Thus, you may pay attention that once you have a level number equal or greater than 100, your issue will happen again.
The sorting method is the same as the way of sorting files in File Explorer on Windows or Finder on MacOS. Try sorting files by name in a folder, and you can get the same result.
2 People are following this question.