Chris, Why wouldn't you try to use sorted on your dictionary, construct an array from the result of sorted, and get the corresponding columns ?
>>>ddict={date(2008,01,01):10,date(2008,01,03):20,date(2008,01,02):30} >>>results=numpy.array(sorted(ddict.iteritems()),) >>>print results[:,0] >>>[2008-01-01 2008-01-02 2008-01-03] >>>print results[:,1] >>>[10 30 20] ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users