in reply to Ordering Colours Problem

There is no obvious standard for colour wheel and the examples given are 3d and can't easily be cooked down to a simple 1d circle.°

So use sort or put more effort into your questions

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

°) eg there is no black on the wheel!!!!