Date is now stored as number, and is correctly used for sorting