Add sort_bug_ids() for tracker-aware bug ID sorting.
Review Request #15305 — Created Sept. 14, 2026 and updated — Latest diff uploaded
This change adds a helper that sorts bug IDs for display. When a tracker
is given and its service provides a sort key for every ID, the IDs are
ordered by those keys. Otherwise it falls back to the numeric-then-
alphabetical sort used byget_bug_list().
- Ran unit tests.
- Used with my full change stack and a tracker that uses IDs like "ENG-12".