return from sort