def move_id_behind(element_id, reference_id, idstr_list):
    """Moves element_id behind reference_id in the list"""
    if element_id == reference_id:
        return idstr_list
    idstr_list.remove(str(element_id))
    reference_index = idstr_list.index(str(reference_id))
    idstr_list.insert(reference_index + 1, str(element_id))
    return idstr_list