Database Query Sorting Condition

image
What is this Sorting Condition and how would it be used?
Can the sorting be done only if the condition is true?

The Sorting Condition can be used with a GET variable. I am not sure about the conditional sorting only when it’s true. In my setup, the GET variable always returns a default value.

Yes. Thats how its supposed to work.