Preamble
As explained in the manual page for Interface/Wikibase-SortedProperties, the order of properties in a Wikibase item is determined by parsing the MediaWiki:Wikibase-SortedProperties page (live example on Wikidata).
Note that the page is just something like this:
* P7 * [[Property:P8]]
And the properties are actually parsed using this regular expression:
^[*#]+\h*(?:\[\[(?:d:)?Property:)?(P\d+\b)
That matches rows with the plain property name or starting with a link.
Problem
As you can see the list of properties (live example on Wikidata) it is quite spartan and difficult to navigate / verify.
Proposed solution
I propose to modify the regex so it can match templates as well:
* P7 * [[Property:P8]] * {{NiceTemplate|P8}}
This would allow the creation of a standard template to present the properties in a more readable and / or more detailed way to the user, still preserving the functionality of the page.
The proposed regex is:
^[*#]+\h*(?:\[\[(?:d:)?Property:)?(?:{{.*|)?(P\d+\b)
You can test this regex with your favorite regex debugger over the live example on Wikidata.