A few sorting algorithms I wrote in JS to get a better understanding of algorithms