Sort Colors

Given an array of n colored objects, sort the array in place so that objects of the same color are adjacent, with the colors in a specific order.

Statement

Given an array of nn objects colored white, red, or blue, sort the array ...