Does sorting both predicates and variables have no effect?

Does sorting both predicates and variables have no effect?

Can you exemplify? sorting is based in the values that comes from a predicate or variable.