in reply to Re^2: Sorting Numbers & Text
in thread Sorting Numbers & Text

ok, heres one to really twist your coaxial pair...

if (($OldItem > $NewItem) || (($OldItem == $NewItem) && ($OldItem gt $NewItem))) {}

the first catches and "sorts" numbers... || ... the second checks to see if "alpha" and sorts texts...
watcha think? i know there "has" to be a flaw...*heh*

I did try re-inventing the wheel...
But it kept getting stuck on the corners