On Tue, 09 Sep 2008, Chen Kedem wrote: Hi Chen.
> Is this a known issue? Yes it is. The SORT command / __dbArrange() function for DBF* RDDs (hbdbsort.c) does not support correctly national sorting for character fields, numeric, date and other extended field types. In fact it's very old code with fatal performance and probably some other bugs which have to be rewritten from scratch. In the current state I do not want to put my fingers inside and update it. It's waste of time. For those of you who need it now and use indexing RDDs I suggest as temporary solution to redefine SORT command to combination of: INDEX ON ... TO _tempidx TEMPORARY; COPY TO ...; OrdBagClear( "_tempidx" ) It will be much faster and will work. If I'll find some time then I'll rewrite it though maybe someone else will be faster. I know about problems with this code from the beginning but it has very low priority on my TODO list. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour