Only apply sort when there is no (scored) query

Also, make the UI reflect whether sort is by relevance
or something else. Eventually, this should probably be
dynamic rather than hard-coded.