sort

Sorts items in an array by a property of an item in the array. The order of the sorted array is case-sensitive.

Input

Output

Sally Snake, giraffe, octopus, zebra

Got an issue? Or want to submit feedback?

Our new Feedback and Issue Tracker is built on GitHub Issues. Just leave your comment below and you can track our team resolve it, or browse issues others have already submitted.

Read how to use the Feedback and Issue Tracker