参考:
http://docs.python.org/2/howto/sorting.html
http://www.cnpythoner.com/post/266.html
http://ghostfromheaven.iteye.com/blog/1563576