I am trying to sort a list by another list, however they are not 100% identical.
list1 = ["1 apple","2banana","mango"] list2 = [