Correct sorting param