Numpy Sort Array By Another Array In Javascript In Javatpoint