New topic in General: 

How to sort dates BC and dates AD in the same listbox column

isomfield - Sat Mar 29, 2008 1:58 am

<http://forums.realsoftware.com/viewtopic.php?t=21506>
                                                                                
                                                                                
Hi,

I hope someone can save my remaining hair  

I have a list of dates in a listbox that I wish to sort as follows:

1953BC
1066BC
  333BC
  332BC
    22BC
    21BC
      2BC
      1BC
      1
      2
    21
    22
  332
  333
1066
1953
Does anyone have any ideas - I have been experimenting with leading spaces but 
that is only partially successful - I can get all the three number dates at the 
top of the list followed by the two then the one, but within each block of 
numbers of the same length they sort ascending.

(the symmetry of the dates was just to make the list easier to write - they are 
actually totally random & right justified.)                                     
                                                
_________________
Cheers

Greg Olson-Hyde

RB 2007r5 Pro, Mac OS X 10.4.11                                 
                                                                                
                                                                                
                                                                                
                                                                                
                                        




-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to