I know that this might not be what you want to here...but have you thought about assigning a numeric value to R, Y, and G!
I had to do that once. The user would select...and see Red, Amber, and Green, but I actually reported numbers. The reports would display values, but sort on numbers!
Or...