Color sorter outer, definitive version

This is chk
This is ref