A queue with VIPs

Customers arrive as (name, is_vip) tuples. VIPs go to the front of the line, behind any VIPs already there; everyone else joins the back. Write serving_order(arrivals) that returns the order in which everyone is served.

serving_order([("Ada", False), ("Grace", True), ("Linus", False), ("Ken", True)])  ->  ["Grace", "Ken", "Ada", "Linus"]
from collections import deque

def serving_order(arrivals):
    ...