saving result of sort now