Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Working walrus solution in Clear category for Sort by Extension by carel.anthonissen
def sort_by_ext(files):
skey = lambda s: (bool(s[:(i:=s.rfind('.'))]), s[i+1:], s[:i])
return sorted(files,key=skey)
May 7, 2020
Comments: