changes in sorting