Sort function parameters for uniform look