Sorted the parameters.