Excel Pivot Table Sort Order issue
Am working on a joint project with John Shaver. I have some of their data on MAS 4.30 exporting to SQL 2008. They use Excel 2007 with a pivot table that use to pull data from another SQL app which is no longer in the picture. I changed the connection string in Excel to pull the data from my table. All the correct data is retrieved, all is good except for 1 thing.
There is a field called ScheduledStartDate and it is displayed in columns on the pivot table like this:
Col C = 3/18/2013
Col D = 3/25/2013
Col E = 4/1/2013
Col F = 12/17/2012
Col G = 12/24/2012
Notice how the 2012 dates appear at the end despite the sort order being the normal A - Z.
In Excel 2007 or 2010 if you were to just key in those dates in ordinary non-pivot table cells, and you go to Data / Sort leave it as A-Z, click OK, you then get an appropriate warning (from attached file). If you leave it at default choice of ""sort numbers stored as text separately"" you get the exact sort problem above. If you choose ""sort anything that looks like a number as a number"" it works perfectly.
Unfortunately, when the pivot table sorts dates it doesn't show the sort warning and defaults to the unoptimal choice. I've played with all the pivot table sort options, tried formatting the dates as General, as Date but can't get it to behave. Any ideas?