title: Why should a Java class implement comparable?
body: <p>Why is Java <code>Comparable</code> used?  Why would someone implement <code>Comparable</code> in a class? What is a real life example where you need to implement comparable?</p>