changed both of them back to being sorted to make them go faster