Fix timetable classes being sorted by timestamp instead of time