re-sorts