def natsort(string):
 return [(int(s) if s.isdigit() else s) for s in re.split('(\\d+)', string)]

def natsort ( string ) : return [ ( int ( s ) if s . isdigit ( ) else s ) for s in re . split ( '(\\d+)' , string ) ]
URL URL .