Whenever I manually insert data into my sql database, it doesn’t automatically resort itself. It’s a minor inconvenience, but it’s still there.
Also, future issue fast approaching. It’s sorting numerically, but only by the first digit. At the beginning of every entry is a number, which is what I want to sort by. I’m fast approaching the hundred digit mark, which will be sorted with the tens, under the twenties based on the first digit.
There is no such thing as “automatic sort” in a SQL database. You must specify the
ORDER BYyou desire in each query.Data in your tables are inherently unsorted. Certain databases will order rows on disks according to a clustered index, but relying on this in the queries you write will lead to sloppy and brittle queries.