Add sort option to get transactions for wallet