Add script to sort ledger file.