Added "advanced" chords, cleaned sorting

Added support for some of the more in-depth chords, cleaned out some of
the comments, cleaned out the heavily-modified QuickSort