We are using RecurrenceExpander.Expand to show the upcoming sessions of a recurring class as a list of dates. If a single occurrence is moved that new occurrence date shows up in the middle of other dates.
For example:
We have a class that goes from 4/25 - 6/6. If we need to skip class on 5/2 we move that to 6/13. However if we use RecurrenceExpander.Expand we get the dates in the following order:
4/25/2013 5:15:00 PM
6/13/2013 5:15:00 PM
5/9/2013 5:15:00 PM
5/16/2013 5:15:00 PM
5/23/2013 5:15:00 PM
5/30/2013 5:15:00 PM
6/6/2013 5:15:00 PM
We are sorting the orginal dtSource. How do we the expanded table created by RecurrenceExpander.Expand?