Fig users can locally configure a setting to present suggestions sorted by recency of use or alphabetical order.
When writing a completion spec, you can specify which suggestions should appear first by using the using the
priority can be any value between
100. Suggestions have a default priority of
50. Fig's autocomplete engine takes this value, in addition to the user's sorting preference and command history, when ranking suggestions.