public void sort(Comparator<? super E> comparator) {
    	sort(0, size(), comparator);
    }
Sort elements in the list using the specified comparator.

@param comparator	comparator to use for sorting
						(null means the elements natural ordering should be used)

@see Arrays#sort
jphp-runtime/src/php/runtime/memory/support/IList.java