0.1.2 • Published 2 years ago
extra-sort v0.1.2
extra-sort
Install
npm install --save extra-sort
# or
yarn add extra-sortAPI
sortNumbersAscending
function sortNumbersAscending(arr: number[]): voidsortNumbersDescending
function sortNumbersDescending(arr: number[]): voidsortStringsAscending
function sortStringsAscending(arr: string[]): voidsortStringsDescending
function sortStringsDescending(arr: string[]): voidcompareNumbersAscending
function compareNumbersAscending(a: number, b: number): numbercompareNumbersDescending
function compareNumbersDescending(a: number, b: number): numbercompareStringsAscending
function compareStringsAscending(a: string, b: string): numbercompareStringsDescending
function compareStringsDescending(a: string, b: string): number