Effective Solutions for Sorting Colors Correctly