Get the top n items in array with JSONata
How can I get the top 5 keys with the highest values from a JSON using JSONata? Let's say I have something like this. They keys aren't alphabetically ordered, but the values are descending and I want to only show…