in reply to Re^2: Ordering Colours Problem
in thread Ordering Colours Problem

Oh, I see: sort is performed on keys of derived hash, not original list. Hence the unstable result.