Fix transaction sorting comparator
Merge pull request #668 from yemel/fix/transaction-ordering

Fix transaction sorting comparator