made sort more explicit