Sometimes you have made a design, perhaps with a lot of copy/paste operations, and you wind up with objects of different colors out of sequence. You may want to sequence them by color before adjusting the sequence further. To accomplish this quickly, select the objects and use the menu Create->Auto Seq. by Color.