sort by time
invert the sorting direction