Sorting In Javascript Without Sort In Python W3schools