Added chronological sorting