sorter sequences error fixed