@Override
    public void sort(int index, int len, Comparator<? super E> comparator) {
    	checkRange(index, len);

    	normalize();
    	Arrays.sort(values, index, index+len, comparator);
    }
Deserialize a GapList object.

@param ois  input stream for serialization
@throws 	   IOException if serialization fails
@throws 	   ClassNotFoundException if serialization fails
jphp-runtime/src/php/runtime/memory/support/GapList.java