regular sort works