Or just ``zip(*sorted(builtins_dict.items()))`` (since tuples are compared lexicographically, key first).