added csorter

an automatic sorter based on the most dominant color in the image.