Sorting is implemented in one direction.