lists and sorting learnt