A simple algorithm to sort any JavaScript arrays fast
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.