Algorithm sort = by string length + by current position in array NEEDS REFACTOR: does [].sort() twice!
array of strings
number to multiply position rating, to make it more important than length
absolute minimum allowed to be used as min_length (default 4) ex: if 4, algorithm will treat str.length of 2,3,4 the same
Generated using TypeDoc
Algorithm sort = by string length + by current position in array NEEDS REFACTOR: does [].sort() twice!