Suppose I have two lists of the following form:
List1 = {{"c", 3.5}, {"a", 2.2}, {"d", 1.2}, {"b", 0.5}};
List2 = {{"a", 1}, {"b", 3}, {"c", 5}, {"d", 9}};
I want to create a new list that essentially matches the letters and gives me the two numerical values for the letters, it should give the following:
List3={{"a", 1, 2.2}, {"b", 3, 0.5}, {"c", 5, 3.5}, {"d", 9, 1.2}}
I’m probably missing a very straightforward solution to this, but I’m struggling to find it.