Small refactoring: sort parameters' fields