Sure, Skittles are pretty much all sugar, and the colors themselves don't really make a difference, but OCD eaters and color enthusiasts will be happy to know that there are multiple machines to help you sort your Skittles.
This one below just went viral on Reddit, and the operation is pretty simple: Pour in your Skittles, let the machine do its work, and consume based on color preference. The creator of this genius machine explains the design in the description, saying, "[The machine] uses a BASIC Stamp 2 and 3 servos for actuation. An IR LED and phototransistor are used to stop the turnstile in position." We're not too sure what that means, but it seems to be effective.
Nevertheless, one isn't good enough; Redditers pointed out an even faster Skittle sorter, which seems to use a reference shot before separating the Skittles, then working off that initial shot. Watch the magic of both machines, figure out which one's better, and then build one to work with Starbursts, M&M's, and gummy bears.