var points = [2, a, t, 5, 4, 3]; and after sort: var points = [2, a, t, 3, 4, 5];
Any help about that? it is possible to post your help with old style javascript code because i work on Adobe DC project?
my code is there :
var points = [t1, t2, t3, t4];
[t1, t2, t3, t4] = points;
var lucky = points.filter(function(number) {
return isNaN(number) == false && number !=="" && number!== undefined;
});
points=lucky
points.sort(function(a, b){return a - b});
this.getField("Text6").value = points
but this only sort min to max and filter other characters... i need to keep other characters and short only numbers...