fix special characters and primitive utf8 support, primitive facetsorting
interface for facet sorting on portal