add #active_sort_fields helper to restrict configured sort fields to
only those that should be displayed