Comparison Shopping

Using Comparable and Comparator to Sort Java Objects

This tutorial is for intermediate-level Java developers who want to add comparison and sorting capabilities to the custom classes they’ve created for their projects.
If you want to skip the video altogether, the source is on GitHub.