What it does
It receives input in the form of elements of a list (string or int) separated by spaces, then it prints the sorted list.
How we built it
For sorting integers, I made an algorithm that iterates over a list, comparing consecutive terms and for sorting strings, I converted them into equivalent ASCII codes (sum of code of each character for multiple character strings) and then sorted this new list. Then I finally printed the sorted list by comparing the indices of the sorted ASCII code list to the original list.
Additional Info
main.py is the name for the integer list sorting code and main2.py is the name for the string sorting code


Log in or sign up for Devpost to join the conversation.