anytime that i make a drop down box for a level and xp requirement it doesnt keep the numbers in sequential order. Is there any way to make it sequential again?
This is because the ordering is alphabetical, not numeric. This means that it is organizing by individual characters, not the full number. So if you want a 1-10 list of levels you need a leading zero; 01, 02, 03, 04, 05, 06, 07, 08, 09, 10
This will make sure that the numbers are ordered properly.
Otherwise, both 1 and 10 start with 1, but 2 starts with 2, so both 1 and 10 will be before 2. 200 will be before 80, because 200 starts with 2 which is smaller than the 8 that 80 starts with. 200, however, will not be before 080, because 0 is smaller than 2.
Comments
This is because the ordering is alphabetical, not numeric. This means that it is organizing by individual characters, not the full number. So if you want a 1-10 list of levels you need a leading zero; 01, 02, 03, 04, 05, 06, 07, 08, 09, 10
This will make sure that the numbers are ordered properly.
Otherwise, both 1 and 10 start with 1, but 2 starts with 2, so both 1 and 10 will be before 2. 200 will be before 80, because 200 starts with 2 which is smaller than the 8 that 80 starts with. 200, however, will not be before 080, because 0 is smaller than 2.