In a situation where a seller lists at 150 and overnight a buyer puts in order at 151, what price is the sale price and does the seller get 151 or the buyer get shares for 150?

Also if I wanted to sell 100000 shares immediately and buyers of 100000 shares total were at 149 148 147 and i put in a sell order at 147 to complete entire sale, would I get 147 for my shares or the portion at each buy order price.

Hopes this makes sense and someone can advise. Thanks in advance