So I have a database of stores and each store has a number in front of its name. They are added in a random order, but I want them displayed in order from 1 to 213. My problem is when I use orderbyvalue()
it displays them like.
- 1 Store
- 10 Store
- 11 Store
- 12 Store
- 13 Store
- 14 Store
- 15 Store
- 16 Store
- 17 Store
- 18 Store
- 19 Store
- 2 Store
- 20 Store
- 21 Store
- 22 Store
And so on. I need them it show up 1,2,3,4,5, etc instead of 1,10,11,12,13 etc.
What should I use to fix this?