working on sort 2