Hi, I have trouble solving this, can anybody help?
You are working for a restaurant that has a customer list, which includes dietary restrictions, such as vegetarian, vegan, shellfish allergy, nut allergy, lactose intolerance, etc. Assume, for the sake of this question, that each customer has at most one dietary restriction and that those customers with no restrictions have "none" entered in that field. An example of a customer record is ["Jane", "Goodall", "vegetarian"]
Order this by dietary, last name, first name in JS
Be the first to answer this question.