public boolean isFieldInSort(final String fieldId) {
        if (sortList != null && NullSafe.isNonBlankString(fieldId)) {
            return sortList.stream()
                    .map(CriteriaFieldSort::getId)
                    .anyMatch(fieldId::equals);
        } else {
            return false;
        }
    }
@return True if fieldId is included in the sortList
stroom-util-shared/src/main/java/stroom/util/shared/BaseCriteria.java