Added sequence reset to Sorter truncate.