In the limit order, you tell the broker to buy or sell shares in a stock at prices equal or better than what you set as the limit price. This order prioritizes price but not time.
Figure 2.8: Buy Limit order
Figure 2.9: Sell Limit order