Javascript – Sorting a Array of Object based on the value of another array
I have a basic array of objects that I want to reorder based on the value of another array. This is something similar to what I want to do but is based purely on an array items = [ ['Anne',…