Ok... so my message board right.
2 tables... one for initial posts and another table for replies.
I have a last_update field on the main thread. If anyone replies to a message it updates this field. This way I can sort by the last_update field. So, if someone replies to an old message, it moves that thread to the top of the list.
So, it works fine... except if the date is the year 2000.
2000 dates look like this: 964911926 (9 digits)
And newer dates look like this 1005100226 (10 digits)
This is a glitch?... the smallest number should be at the bottom of the list.
So, anyway... everything is sorted properly except it puts the 9 digit dates at the top. Should be at bottom.