}
// Construct the event list of all our data and layer on the sorting
EventList<T> rawList = GlazedLists.eventList( data );
int initialSortColumn = getInitialSortColumn();
if ( initialSortColumn >= 0 ) {
PropertyPath sortProperty = getColumnDefinition( initialSortColumn ).getPropertyPath();
//noinspection unchecked
baseEventList = new SortedList<T>( rawList, new PropertyComparator( sortProperty.getProperty(), false, true ) );
} else {
baseEventList = new SortedList<T>( rawList );
}
}
//noinspection ReturnOfCollectionOrArrayField