Numpy Array Sort Method Javascript Form Validation W3schools