Given an array of objects and a list of values, I want to effectively sort the object so that values of a unique property (say key) follows the order of values in t
key