Sort transaction list