There is no (easy) way. Sorting/Grouping is not really possible. You can place parameters under a standard group (e.g. Identity data, text)
If you have loadable families you can accomplish some kind of sorting. When first loaded into the project the family parameters will be shown as sorted in the family. However if some of the parameters have already been loaded through another family the sequence of the earlier loaded parameters will be followed. Even deleting that earlier family will not change the sorting anymore. Revit seems to remember the previous sequence. Project parameters and building parameters who are already in the project will keep the same sorting as they are in the project. So you are more or less limited to group things according to the predetermined groups.
A possible solution might be to create an add-in that basically mimics the properties window with some additional functionality (check in the app store if something already available)
Another route I have used sometimes is to create a (room) tag with multiple parameters and use that to fill in data. There you have more control over sorting and grouping

Louis

Please mention Revit version, especially when uploading Revit files.