Skip to content
RED SAGSkills
hard20 pts · first answer countsjavascriptarrays

Sorting orders that tie

Orders are already sorted by time. You then call orders.sort((a, b) => a.city.localeCompare(b.city)). What happens to orders in the same city?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions