sSQL = "SELECT * FROM Events ORDER BY EventDate"
rsRecall = dbSQL.SQLSelect(sSQL)
I have a SQLite table with a field defined as DATE - Top code above.
Then I retrieve the data and try to sort it by the EventDate. It’s then loaded into a ListBox - lower code.
The records are sorted by the 1st digit of the date instead of the full value of the date.
It is already sorted, databases know how to do that very well (don’t save dates as strings!), you probably destroy the sort order by mistake somehow. Show some code…