Skip to content

faithword/FastSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

FastSort

A simple algorithm to sort any JavaScript arrays fast

Usage

The sort function accepts 3 parameters; array of objects, object property, and sort direction ("ascending" or "descending"). Simply add the function to your code and call fastSort.

var sortedArray = fastSort(arrayToSort, propertyToSortWith, "ascending");

The function properly sort different combinations of Alphanumeric, uppercase and camelcase strings unlike some other sort functions.

About

A simple algorithm to sort any JavaScript arrays fast

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published