createDataTable: NPE fix if sortProperty is null.