@Override
    protected void defaultSort(Comparator<? super E> comparator)
    {
        FastList<E> list = comparator == null
                ? (FastList<E>) this.toSortedList()
                : (FastList<E>) this.toSortedList(comparator);
        this.lists.clear();
        this.lists.add(list);
    }
@ Override protected void defaultSort ( Comparator < ? super E > comparator ) { FastList < E > list = comparator == null ? ( FastList < E > ) this . toSortedList ( ) : ( FastList < E > ) this . toSortedList ( comparator ) ; this . lists . clear ( ) ; this . lists . add ( list ) ; }
Override in subclasses where it can be optimized.