danielbachhuber/Edit-Flow — Issue #71: Add a new filter for changing the sort order of posts on a calendar day
Author: danielbachhuber
Created: 2012-02-08 03:11:11+00:00
State: open
Labels: Features, Module: Calendar

As of v0.7, we display posts on the calendar in the order of the status they have (e.g. a 'pitch' appears above 'assigned' and 'published' appears at the bottom). Some users would like the ability to control the order of their posts. [This was requested in the WordPress.org forums](http://wordpress.org/support/topic/plugin-edit-flow-feature-request-display-posts-chronologically-in-calendar):

For instance, when I look at the calendar on my site right now for today, I see 2 posts listed.
The first is still in the "Pitch" state and is scheduled for 4pm today. The second is a post that went live this morning at 8am.
I understand that the unpublished posts appear first, but from a visual/graphical point of view, it would be great to have the option to display the posts in their scheduled order.

The easiest thing to do would be to offer a filter that passes the entire array of sorted posts. This would allow the user to define their own sorting callback and criteria.