Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TdxTreeList Sort Help

0 views
Skip to first unread message

mp_playa

unread,
Jul 3, 2002, 11:22:08 AM7/3/02
to
Hey man,

I'm trying to sort TdxTreeList column, but it sorts wrong.
I have 3 values on it:
110
80
20

but when I set it to sort, its sorts like:

110
20
80
or
80
20
110.

I want it to be like this:
110
80
20
or
20
80
110.

Got it?

Thanks for your help!


Mark Smits

unread,
Jul 3, 2002, 11:44:34 AM7/3/02
to
Looking at this, it's sorting on the first char of the number. prefix
20 and 80 with a zero and it will probably work...

On Wed, 3 Jul 2002 12:22:08 -0300, "mp_playa" <nu...@brturbo.com>
wrote:

Met vriendelijke groeten,
Mark Smits
--
Sm...@Com-Unit.com

Com-Unit BV, The Netherlands.
The makers of Spider-Road®.

Gerke Kok

unread,
Jul 3, 2002, 11:59:51 AM7/3/02
to
Have you looked at using s custom sort algorithm? That might help...
This sort is alpha-numeric. You want a numerical sort.
wkr,
Gerke

mp_playa

unread,
Jul 5, 2002, 9:39:49 AM7/5/02
to
Hmm.. "custom sort algorithm" where do I get that?

"Gerke Kok" <gerk...@c.ict.om.org> escreveu na mensagem
news:3D231F77...@c.ict.om.org...

Ken White

unread,
Jul 8, 2002, 2:04:56 PM7/8/02
to
mp_playa,

You write it. :-)

Ken
---
Ken White
kwh...@adpsi.com

Clipper Functions for Delphi and C++ Builder
http://www.adpsi.com

"mp_playa" <nu...@brturbo.com> wrote in message news:3d25a1ba$1_1@dnews...

0 new messages