2) The higher order at whatever price closest to the bid is taken. Often what you see as MM's avoiding selling you shares is in fact a multi-million share order at a lower price than offered and that will take precedence. These orders are rarely shown accurately on L2. I believe they are seen by market makers on L3, which is soley for their purposes.