title: Compare Two Strings With Other Meaning
body: <p>I have big problem with comparing strings because of meaning in string. For examples, I have string like "Yellow" and string like "Blue". IN my application, Yellow is less than Blue. So how I model this? I tried to use enumeration like this</p>
  
  <pre><code>object Color extends Enumeration {
   val yellow = Value(0)
   val blue  = Value(1)
  }
  </code></pre>
  
  <p>And in my function I having</p>
  
  <pre><code>def isBigger(color1 : String, color2 : String) = Boolean = {
  ???
  }
  </code></pre>
  
  <p>But I am not suring how to compare them. Please some advices.</p>