The Comparator will default to ascending sort order, unless it is a InvertibleComparator.
@param comparator the Comparator to add to the end of the chain
@see InvertibleComparator
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.