background image

         }    

       if(typeof a === typeof b){    

            return a < b ? -1:1;    

         }    

       return typeof a < typeof b ? -1 : 1;    

    }else{    

        thro("error");    

     }    

    }    

}    

 employees.sort(by('age',by('name')));