added a new sorting algorithm

turned out to be boring and basically just something to lower the
quality of the image