Type: Posts; User: AGunner
Have a look at this link: CLICKY It explains comparable and compareTo() pretty well.