commit sort