Ad
  • Default User Avatar

    terribleprogammer is right : original array for this test is [3,"3","2",2,"2","1",1,"a","b","c"] which contains string and integers ( and expects integers will be sorted before digits )

  • Default User Avatar

    I think your function only returns strings. if the orginal array contains integers then the output needs to have integers. i could be wrong but i hope that helps.