Function to chain compare functions together.
An array of compare functions for the same type
A new compare function running through every compare function until it finds a non 0 value
Function to chain compare functions together.
A new compare function running through every compare function until it finds a non 0 value
Helper function to get the inverse of a comparator function. Since comparator functions simply return numbers, this just returns the negation of them.
comparator function
inverse of a comparator function
Helper function to get the inverse of a comparator function. Since comparator functions simply return numbers, this just returns the negation of them.
inverse of a comparator function
Helper function to get the rule name and if it should get inverted.
A "!" prepending the sort rule indicates inverting it.
The name of a sort rule given from the config
Constructor
Array of compare function names
Array of compare function names
Record of external functions mapped by their names
Array of import element compare functions. The order of elements is important here.
Array of import compare functions. The order of elements is important here.
Generated using TypeDoc
Class for sorting imports and the import elements.