#Created by Ertuğrul Gazi AKÇA at 15.01.2019


# sort method is the most important method.
# we can sort list according to some criterion


members = ['Ahmet', 'Mehmet', 'Ceylan']

print(members)

#according to alphabet
members.sort()

print(members)


numbers = [1,2,3,2,4,6,2,1,3,6,1,2,5,7]

print(numbers)

#according to value of numbers
numbers.sort()

print(numbers)

#reverse sorting
numbers.sort(reverse=True)

print(numbers)
