pref-name-sort-list (npm): Module that exports a function filtering an array of strings based on a user-provided regex pattern and returning an array of those strings in preferred order - i.e., pattern matches sorted in ascending order of match index.
Keywords: sort|list|regex|order