remove unneeded sort