#49 [WIP][DO NOT MERGE] Sort posts by their dates
Opened by amitosh. Modified
amitosh/Fedora-app sort-posts  into  master

Download 49.patch

When clubbing the posts from different sources, we lose the chronological order of the posts. We now sort the post array after fetching posts from all the sources to restore the sorted order

Closes #40
Blocked by #55 , #57

@amitosh, the posts array seems to have chronological order, but they are grouped social application wise, ie, like now, the latest post is on facebook, so all post of facebook have appeared in a right order, and then the post of twitter is there in correct order.

You might like to sort the posts array after it containing all posts and before it is being displayed through HTML. You can do it by simply creating a sort function or if you want to experiment more, you can create a custom sort filter.

Just saw, it is WIP PR :p . Hope above points can help you.

Metadata