History table is sorted