def natural_key(s):
 return tuple((_nkconv(m) for m in _nkre.findall(s)))

def natural_key ( s ) : return tuple ( ( _nkconv ( m ) for m in _nkre . findall ( s ) ) )
converts string s into a tuple that will sort "naturally" .