M117 - Corrected an issue that prevented data from being sorted.
Merge pull request #191 from caseybryant/HDFtoDB

M117 - Corrected an issue that prevented data from being sorted.