This method would fail if the list used as 'keys' has any duplicate items in it.
In reply to Re^2: Returning two lists from a sub by kyle in thread Returning two lists from a sub by cormanaz