javadoc update
added option to order IDs with custom comparator