Compare objects at two given indices and return the result of their comparison consistent with {@link Comparator}'s contract.
Beware of the return (int - int) idiom, it is usually broken if arbitrary numbers can appear on input. Use regular comparison operations - they are very fast anyway.
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.