These are for demonstration purposes only. There are many implementations of sorts in the Javascript standard library that are much better for performance reasons.
Read our Contribution Guidelines before you contribute.
See our directory.
see our wiki