private Comparator < PolicyStats > comparator ( ) { Comparator < PolicyStats > comparator = makeComparator ( ) ; return settings . report ( ) . ascending ( ) ? comparator : comparator . reversed ( ) ; }
Returns a comparator that sorts by the specified column .