This is already working but not covered by a unit test.
CAMEL-4350 fixed column ordering for camel-jdbc & got me looking at camel-sql, the patch is almost ready.
Even checkstyle was okay
Here is a unit test to ensure deterministic key ordering.
Since the change was so trivial, I also removed warnings & fixed checkstyle violations within the same patch.