def _gen_perm_Numpy(order, mode):
    """
    Generate the specified permutation by the given mode.

    Parameters
    ----------
    order : int
        the length of permutation
    mode : int
        the mode of specific permutation

    Returns
    -------
    list
        the axis order, according to Kolda's unfold

    """
    tmp = list(range(order - 1, -1, -1))
    tmp.remove(mode)
    perm = [mode] + tmp
    return perm