Buildin Function Python Tutorial

s = ['They', 'stamp', 'them', 'when', "they're", 'small']
for t in reversed(s):
  print t,
sorted(s)