Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
single sorted solution in Clear category for Sort by Extension by xndrllyd
def sort_by_ext(files):
f = lambda x: x.rsplit('.', 1)
return sorted(files, key=lambda x: tuple(f(x)) if f(x)[0] == '' else tuple(reversed(f(x))))
Dec. 18, 2020