Refinement to default sort for public ui

For the public interface only apply a default sort if there is no
query (including advanced queries) and no sort specified. This
addresses the problem of meaningless "unsorted" browse views,
but preserves relevancy as the default sort for queries.