sorting a list of employees by their job title, then by age, and then by salary chained comparator - CompareToBuilder class of the Apache Commons Lang library. public class Employee { private String name; private String jobTitle; private int age; private int salary; public Employee(String name, String jobTitle, int age, int salary) { this.name = name; this.jobTitle = jobTitle; this.age = age; this.salary = salary; } // getters and setters public String toString() { return String.format("%s\t%s\t%d\t%d", name, jobTitle, age, salary); } } import java.util.Arrays; import java.util.Comparator; import java.util.List; /** * This is a chained comparator that is used to sort a list by multiple * attrib...