sort unspent tx inputs for tx construction