I am trying to work out whether the following scenario is possible.
I have a directory with a number of options for searching and filtering: hidden link
Currently the directory entries are always displayed alphabetically by first name.
If it possible that when people use the distance filter, the results are displayed ordered by distance from the location in the filter (nearest first)? (But when the distance filter it not used they continue to be ordered alphabetically.)
It isn't possible to set up this up in the UI, but you can add a little code that uses the Views API to modify the View settings programmatically to achieve the same.