Re: Introducing FiveTech's fivedit
Posted: Tue Jan 20, 2015 4:46 pm
Sorry I am not fully awake yet. This is not valid syntax:
::oFunList:SetItems( ASort( Upper( aFuncs ) ) )
What I meant was that we cannot just convert all the data in aFuncs to uppercase before sorting because it will then be displayed in all uppercase which is not what we want.
I think this will do it:
::oFunList:SetItems( ASORT(aFuncs,,, { |x, y| UPPER(x) < UPPER(y) }) )
::oFunList:SetItems( ASort( Upper( aFuncs ) ) )
What I meant was that we cannot just convert all the data in aFuncs to uppercase before sorting because it will then be displayed in all uppercase which is not what we want.
I think this will do it:
::oFunList:SetItems( ASORT(aFuncs,,, { |x, y| UPPER(x) < UPPER(y) }) )