问题 I am using Twilio chat SDK in my iPhone application. I am trying to sort all channels list based on last message timestamp, is there any way to achieve this? Please suggest. 回答1: Twilio developer evangelist here. The SDK doesn't currently have a way to sort channels. Your best bet is to load all the channels into an array and sort them yourself. 回答2: As @philnash said, currently the SDK doesn't have a way to sort channels. This is how I have sort on my own in javascript . In javascript SDK,