prior to sorter