Remove afs:sort limitation

Both built-in facets and user defined facets can be used.