def sort_keys(key):
    is_special = key in 'rtxyz'
    return not is_special, key
Temporary function. See https://github.com/plotly/python-api/issues/290.
dataset/ETHPy150Open plotly/plotly.py/plotly/graph_objs/graph_objs_tools.py/sort_keys