PrintTable now sorts its keys

For greater readability/consistency between prints
Fixed a flaw with sorting
Merge pull request #707 from DaaOtt/patch-2

PrintTable now sorts its keys