var arr = [ "art221827", "mus14111", "vid34343", "fol232926", "str34222", "sml161617", "all111456", "ind30040"];
arr.sort((a,b) => {
var A = a.match(/(\D+)(\d+)/),
B = b.match(/(\D+)(\d+)/);
return A[1] > B[1] && +A[2] > +B[2] ? 1 : A[1] < B[1] && +A[2] < +B[2] ? -1 : 0
});
alert(arr);