I have a List products; with 100+ items.
For each item from the list I have product id.
And I have an array int[] sortedArray = {3,6,22,98,6,45,87};
I have to sort my product list and make order by productid, how it is in sortedArray. How can I implement that?
Thanks in Advance!