sort the reset