Feature request for hints to be sorted by text match position. Meaning
that if there are two links "hello world" and "world news" and you search
for "world", then the numbering should be 2. "hello world"; 1. "world
news".
We would not want to do this by default, as the sorting will mean another
performance hit on hinting, which is already too slow on some sites, but
may provide as an option if it can be done cleanly.
Looks like it could be implemented fairly straight-forwardly in
hint_manager.update_valid_hints, as a sort loop, just before the 'outer'
loop. Sort on match position of first token in each hint's 'text'.
Another idea was to prioritize matches on word boundaries over matches not
on word boundaries. Generalized hints_text_match (ala casual-spelling)
might make this impractical.