The built in sorting algorithm (apparently it's mergesort in most browsers) in most implementations of JavaScript is often a little bit slow, so more sorting algorithms that people have implemented is a good thing. (I actually implemented Quicksort in Javascript and got about 5x better performance than Chrome's sort algorithm)