Add TransactionSlice sort function