Correctly sort the field names when there are 10 or more columns in the dataset. Previously was sorting in alpha sequence.
Merge pull request #39 from timschofield/master

Correctly sort the field names when there are 10 or more columns in the dataset