--- El vie 13-may-11, Alexander Klenin <[email protected]> escribió:

> De: Alexander Klenin <[email protected]>
> Asunto: Re: [Lazarus] Sorting StringGrid by column click
> A: "Lazarus mailing list" <[email protected]>
> Fecha: viernes, 13 de mayo de 2011, 8:43
> On Sat, May 14, 2011 at 00:26, Juha
> (gmail) <[email protected]>
> wrote:
> > Which way is better? I think the Descending-sort code
> is always identical:
> >    if SortOrder=soDescending then
> >      result:=-result;
> > and it could be better if users don't need to worry
> about it.
> 
> Of course.
> 

I think if the user don't need to worry then the built-in string ascending 
sorting should be fine, in all other cases, i.e. custom sorting, the user needs 
to take care of doing it correctly, that includes planing the sort order.

Jesus Reyes A.


> 

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to