Fix Variables sort.
Merge pull request #131 from skydb/variable-sort-fix

Fix Variables sort.