I'm trying to order my rows by the date that each row has.
One row has
SELECT * FROM threads ORDER BY th_activity DESC
You could have set the type of column as
timstamp instead of
varchar, which doesn't care about the length of data (only that while inserting data take care about the format).
Check this question to ordery by timestamp:
SELECT th_activity FROM tableName ORDER BY timestamp desc;