Allstate Interview Question

Basic sorting algorithm in Java using comparator.