def alphanum_key(s):
    """Turn a string into a list of string and number chunks.

        "z23a" -> ["z", 23, "a"]
        """

    return [int(c) if c.isdigit() else c for c in _RE_INT.split(s)]
Turn a string into a list of string and number chunks.

        "z23a" -> ["z", 23, "a"]