code: function(list){
      const listNoDuplicate = difference([],list);
      if(typeof list[0] == "number") {
        return listNoDuplicate.sort((a,b)=>a-b);
      }
  
      return listNoDuplicate.sort();
    }
docs: Returns sorted array without duplicates
  @param list {Array} array to be sorted
  @returns {Array} sorted array