fix case sensitive columns

add best effort ordering of variables where metridoc sql tries to
properly order and match column headers regardless of case.
Merge pull request #87 from metridoc/fix-column-case

fix case sensitive columns