work on sort step