Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
ext first, localCompare second solution in Clear category for Sort by Extension by vincent.tscherter
var ext = (a) => a.match(/^(\.\w+|\w+\.)$/) ? '' : a.split('.').pop()
var sortByExt = (a) => a.sort( (x, y) => ext(x).localeCompare(ext(y)) )
May 9, 2020
Comments: