sort by stats(R,G,B)