removed sortByChronology