Dolmans Sun wrote: > Kent Johnson wrote: >> >>> [a for b,a in sorted(zip(B,A))] > > also, [a for _,a in sorted(zip(B,A))] > > didn't read refs, tested above python-2.2.3.
Is there something here I can't see, or did you just change a variable name and present that as another solution? -- http://mail.python.org/mailman/listinfo/python-list