default Map<String, SortMeta> getActiveSortMeta() {
        return getSortByAsMap().values().stream()
                .filter(SortMeta::isActive)
                .sorted()
                .collect(Collectors.toMap(SortMeta::getField, Function.identity(), (o1, o2) -> o1, LinkedHashMap::new));
    }
Returns actives sort meta. See {@link SortMeta#compareTo(SortMeta)}
@return map with {@link SortMeta#getField()} as key and {@link SortMeta} as value
primefaces/src/main/java/org/primefaces/component/api/UITable.java