So I have a biiiiig list of lists, looks like:
big_list = [[17465, [22, 33, 1, 7, 83, 54, 84, -5], '123-432-3'], [13254, [42, 64, 4, -5, 75, -2, 1, 6], '1423-1762-4'], [...........................................................................................................], [17264, [22, 75, 54, 2, 87, 12, 23, 86], '14234-453-1']]
I need to cycle over the entire list of lists and when it detects two or more strings (element [2] of each inner lists e.g. '123-423-3') that are the same it will amalgamate the lists of ints (element[1]) relating to that string with the list of ints relating to the last same value string detected.
[int, list, string]? Is it important to preserve any kind of ordering?