Make sort function brief.