api_autocomplete() should have a secondary sort

Migrated issue

Reported by: drumm

Autocomplete results are only sorted by length. On api.drupal.org, this is inconsistent, so the JSON cache thinks it needs to be rewritten more than necessary. That means there are more chances for the suggestions to be missing and they will be in different order.

Assignee Loading
Time tracking Loading