tests to make sure non iterable conditions are never sorted before iterable conditions
Make the union's key index name consistent.

Shouldn't the key contain the index name? Instead of '<10', shouldn't it be
'age<10'. Only matters when query cache or condition cache is added (i think).
union tests