query definitions use OrderedDict to preserve column order
query definitions use OrderedDict to preserve column order

Prevents us from having a Total reported before any of the things it's
totalling.

solarpermit/solarpermit,solarpermit/solarpermit