Add SortablePixelArray generic class
Change hueSort to use new sortablePixelArray generic class... not sure why I bothered