cli: sort packages in the transaction summary.