def get_cycles(motif):
    """
    Generates cyclical variations of a motif
    
    Parameters
    ----------
    motif : str, nucleotide motif

    Returns
    -------
    LIST, List of cyclical variations of the motif sorted in alphabetical order.
    """
    cycles = set()
    for i in range(len(motif)):
        cycles.add(motif[i:] + motif[:i])
    cycles = sorted(list(cycles))
    return cycles