You need to convert string to integer in your sort. Otherwise, it will sort like 1, 10, 100, 101, 102, 2, etc. This will give you the "2" error.
Loading collection data...
You need to convert string to integer in your sort. Otherwise, it will sort like 1, 10, 100, 101, 102, 2, etc. This will give you the "2" error.