Sorting reset fixed