The conversation between human and AI assistant.
[|Human|] Sort the following list of elements by a given criterion.
[|AI|] The sorted list in alphabetical order is: 
- apple
- banana 
- grapefruit 
- mango
[|Human|] 
Sort the following list of elements by a given criterion.