finished 3 way sort