DEV Community

Discussion on: 7 challenges for querying with GROQ

Collapse
 
billymoon profile image
Billy Moon

Challenge 6, assuming you want a simple array of names can be done like this...

*[].name.english|order(length(@) desc)
Enter fullscreen mode Exit fullscreen mode