Sorting

Basic Sorting in Python

# Sort Strings and Integers

# List of Strings
people = ["Tom", "Yuki", "Arthur"]
# List of Integers
numbers = [12, 16, 19, 5, 388, 1, 2, 50]

people.sort()
numbers.sort()

print(people, numbers, sep="\n")

Output:

['Arthur', 'Tom', 'Yuki']
[1, 2, 5, 12, 16, 19, 50, 388]