How to sort list

Paddy paddy3118 at
Tue Nov 21 23:25:23 CET 2006

Lad wrote:

> I have a list of emails and I would like to sorted that list by domains
> E.g.
> If the list is
> Emails=['a at','a at','b at','c at',....]
> after sorting I would like to have
> Emails=['a at','b at','a at','c at',....]
> What is the best/easiest way?
> Thank you for help
> L.

What have you tried?
What issues did you have with your attempts?

- Paddy.

More information about the Python-list mailing list