Wells Fargo Interview Question

Use comparable and comparator