

# sort - changes the order permenantly
cars = ['honda', 'suburu', 'mazda', 'acura', 'tesla']
cars.sort()
print (cars)

# reverse sort
cars.sort(reverse = True)
print (cars)

# temporary sort - sorted
cars = ['honda', 'suburu', 'mazda', 'acura', 'tesla']
print("here is the original list:")
print (cars)
print("here is the sorted list:")
print(sorted(cars))
print("here is the original list again:")
print (cars)

# reverse the order
print("here is the original list:")
print (cars)

cars.reverse()
print("here is the reverse list:")
print (cars)

cars_length = len(cars)
print (cars_length)



