Sorted Compound Textures