Skip to main content

Sort

Helper functions that have to do with sorting.

Functions

sortCaseInsensitive()

function sortCaseInsensitive(array): string[]

Helper function to perform a case insensitive sort. This will copy the provided array and return the sorted copy.

From: https://stackoverflow.com/questions/8996963/how-to-perform-case-insensitive-sorting-array-of-string-in-javascript

Parameters

ParameterType
arrayreadonly string[]

Returns

string[]

Defined in

functions/sort.ts:15