DDF-76 Changed how Solr operand reordering works

It turns out that the issue was with sorted distance operands, not spatial
ones. Reordering now looks for any sorted distance operands (of which
there is guaranteed to be only one) and then will move it to the front of
the operand list before the expression gets built.