Sorting In Javascript Without Sort In Python 3 What Is The Output