add possibility to use comparable interface to compare two objects.
Review on new feature compareToOnly
Merge pull request #1 from jlrigau/review-comparator

Review on new feature compareToOnly
Merge pull request #2 from Jean-Eudes/features/use-comparator

Features/use comparator