how do I sort a column with several categories (ie red and blue)

C

cheryl

I am trying to sort a column that contains 2 or more things, like red and
blue and yellow. How can I sort them based on 1 colour (ie, yellow)?
 
Top