Numpy Sort Array By Another Array In Javascript W3schools