fix sort in reminder