Sort getData results by time
Handle dates before 1970, cleaner date -> int conversion