BestFromListByList
From Original War Support Wiki
SAIL Functions/B -> BestFromListByList
Description
This function returns the best value from the first specified list according to the values in the second specified list.
Parameters
BestFromListByList(first_list, second_list)
Examples
One can imagine than this function first uses function SortListByListDesc to sort first_list descending (according to the corresponding values in second_list), and then returns the first value in first_list.
BestfromListByList([Poul, Robin, Dolwan], [3, 5, 1])
Returned value is "Robin".