Re: [Tutor] Sorting a list of list

2015-06-05 Thread Laura Creighton
In a message of Fri, 05 Jun 2015 21:16:33 +0100, Stephen Nelson-Smith writes: >As part of my league secretary program (to which thread I shall reply again >shortly), I need to sort a list of lists. I've worked out that I can use >sorted() and operator.itemgetter to sort by a value at a known posit

Re: [Tutor] Sorting a list of list

2015-06-05 Thread Mark Lawrence
On 05/06/2015 21:16, Stephen Nelson-Smith wrote: As part of my league secretary program (to which thread I shall reply again shortly), I need to sort a list of lists. I've worked out that I can use sorted() and operator.itemgetter to sort by a value at a known position in each list. Is it possi

Re: [Tutor] Sorting a list of list

2015-06-05 Thread Peter Otten
Stephen Nelson-Smith wrote: > As part of my league secretary program (to which thread I shall reply > again > shortly), I need to sort a list of lists. I've worked out that I can use > sorted() and operator.itemgetter to sort by a value at a known position in > each list. Is it possible to do th