Managed by | Updated .
Note: this article applies to Funnelback 15.10 and earlier. In Funnelback 15.12 sorting is natively supported and renaming is discussed in the documentation.
By default Funnelback will sort Faceted Navigation categories by frequency count.
It is possible to sort the categories differently (eg. alphabetically).
Sorting date range facet categories
For sorting of date facets (v13+) use the faceted_navigation.date.sort_mode collection.cfg option.
Sorting non-date range facet categories
For other facets or arbitrary sorting on a date facet, a hook script can be used to alter the sort order in the Modern UI.
Use the post_process_hook.groovy script included with the replacement faceted navigation macros.
Once installed sorting is configured, per facet, using collection.cfg options.
Renaming facet categories
The hook script above can also be used to rename faceted navigation categories using collection.cfg options.
This applies to v14.2 and earlier when using the Classic UI.
Use the sortBy attribute of the <s:category> tag to sort by count, alphabetical or 'combo' sorting.
Use the <s:categorySortOrder> tag to define an arbitrary sort order.