Kent Johnson schrieb: > heapq.nlargest() > heapq.nsmallest() > ? > > Python 2.4 only Thanks! Those are *very* well hidden in the documentation. Maybe I already read that page too often... Stefan