public void sortRanges() {
		if(!sorted) {
			if(numPE > 0 && ranges.size() > 1) {
				// Avoid Java's sorting, which dumps the list into an array before sorting
				quickSort(ranges, 0, ranges.size() - 1);
			}
			sorted = true;
		}
	}