Add a line to sort each transaction