def info_item_cmp(x,y):
    """
    Comparison function for items (k,v) in the dictionary returned
    byt the frame_drop_corrector.info_all() function. 
    """
    x_num = int(x[0].split('_')[1])
    y_num = int(y[0].split('_')[1])
    if x_num > y_num:
        return 1
    elif x_num < y_num:
        return -1
    else:
        return 0