Sort Array By Another Arraylist Vs Linked List