@JsonIgnore
    public List<ContentTemplate> getActiveTemplates() {
        //noinspection SimplifyStreamApiCallChains // Cos GWT
        return NullSafe.stream(contentTemplates)
                .filter(Objects::nonNull)
                .filter(ContentTemplate::isEnabled)
                .sorted(Comparator.comparing(ContentTemplate::getTemplateNumber))
                .collect(Collectors.toUnmodifiableList());
    }
@return A list of enabled {@link ContentTemplate}, ordered by their
templateNumber (lowest number, highest priority, first).
stroom-core-shared/src/main/java/stroom/receive/content/shared/ContentTemplates.java