W3schools Javascript Array Sort Numerically In Python For Loop