No need to instantiate a new one each time.  Just make it a singleton and do : ColumnComparator.INSTANCE