def sort_fragments_by_elf10wbo(frags):
    """
    Sort fragments by ELF10 WBO. This helps with plotting all distributions so the distributions of the different
    clusters are together
    Parameters
    ----------
    frags : dict
        {'smiles': {'ensamble': , 'individual_confs': []}

    Returns
    -------
    list of sorted frags in tuple sorted by elf10 wbos [(elf10 wbo, smiles)]
    """
    sorted_frags = sorted([(frags[f]['ensamble'], f) for f in frags])
    return sorted_frags