Quote:
Originally Posted by knc1
Quick question:
Isn't that field named: "priority" actually implementing "priority groups"?
I.E: More that one item could be set as: "priority":5 and will all of those be grouped together for display (between "priority":4 and "priority":6 items).
Translation: The end-user does not have to be concerned about duplicating an existing priority number?
|
Yes, and no.
It's a very simple system: every extension can declare their own priority. The sorting is done once all extensions are loaded. If everybody declares a different priority, then all is fine, and entries are sorted in ascending order of their (numerical) declared priority.
If two or more extensions declare the same priority, then they are sorted according to the internal rules of the sort algorithm that is internally employed. There are no guarantees about the sort order though, so don't rely on any.