Allow union sort

Compile the configuration to sort the union results.