Click me
This optimized version of the color sorter takes only 26 milliseconds to run.
Check out version 6 or go back to JavaScript Profiling With The Chrome Developer Tools.