10
Answers

Sort c# List that contains json object

Avuya Mxoli

Avuya Mxoli

10y
3.3k
1
Hi all,
I have a List<Object> posts = new List<Object>();
I add an object that contains Json data to this list in a foreach loop: posts.Add(statusJson);
 
Now this Json object (statusJson) contains these fields : name,message and created_time. I would like to sort the list by created_time
Any suggestions? 
Answers (10)