Sorting image contrast out