Transactions are sorted based on the user request