The setTransactionPriority Method
This method should set the transaction’s priority to the value specified by newPriority, which takes an integer value from 1 to 5 inclusive, highest to lowest. The transaction moves to the appropriate position within the queue’s transactions, which are sorted in priority order.