def order_list(self, repeats_list):
    """
    Given a list of repeating rows created in the csv_2_json function,
    this list will pull out all the embedded lists and order them
    in order of appearence, while keeping values in their
    correct list, even if they were seperated by another list.

    Ex: [a[b[c d]e]f] -> [[a f][b e][c d]]
    """
    _order_list = [[]]
    for j, item in enumerate(repeats_list):
        if isinstance(item, list):
            _order_list.append(order_list(self, item))
        else:
            _order_list[0].append(item)
    return _order_list