Sort An Array Based On Another Array Javascript W3schools