total sort