title: Implicit ordering of case classes scala
body: <p>Case classes do not seem to have an implicit ordering in scala.</p>
  
  <pre><code>scala&gt; case class A(i:Int)
  defined class A
  
  scala&gt; implicitly[Ordering[A]]
  &lt;console&gt;:10: error: No implicit Ordering defined for A.
                implicitly[Ordering[A]]
  </code></pre>
  
  <p>I want to know if there is anyway to generically define an implicit ordering for all case classes, if not is there at least a way to define implicit ordering for each arity of case classes / case classes of the same member types.</p>