The prefix_length is usually 0, since it's used for aliases, not
indicating the actual prefix length. So use the whole result length
instead.
# Third on suffix length (shortest first)
entry.suffix_length,
- # Lastly on prefix length (shortest first)
- entry.prefix_length
+ # Lastly on full name length (or prefix length, also shortest
+ # first)
+ len(entry.name)
]
self._sort(key)
| ) [12, 15, 19, 17]
a group [29, 28]
| page [52]
-value [31, 41]
+value [41, 31]
| riable [48]
-enum [34, 44]
+enum [44, 34]
| :$
| :deprecatedvalue [33]
| onlyabrief [40]