Using the Strategy Design Pattern for Sorting POJOs