Uninlined sort handlers