I have a database with some values, like from 0 to 1 million. However if I want to select the highest value it does not work always, like it can have lower amount first and the big number as you can see on the image.
I have tried
SELECT * FROM listings ORDER BY value DESC
Here you go:
SELECT * FROM listings ORDER BY length(value) DESC, value DESC