How can sort items containing a python list in ascending order?