Sorting compound names

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Sep 22 17:24:27 CDT 2004


On 9/22/04 5:18 PM, "jda" <jda at his.com> wrote:

>>> The authors field of *one* record might be
>>> 
>>> Zasukhin, R
>>> Brenstein, R
>>> von Abel, GE
>>> 
>>> The the authors of this record will be compared to the authors of
>>> every other record. In this particular instance, I would want this
>>> record to sort *before* another record with these authors:
>>> 
>>> Zasukhin, R
>>> Brenstein, R
>>> Bethany, D
>>> 
>>> Jon
>> 
>> I don't think valentina can do this type of stuff for you. Too much
>> logic involved with multiple-level hierarchy. I think you need to
>> roll your own functions. As I said, this is what I am planning.
> 
> Actually, the only logic needed above is to ignore "von ". Then the
> sort will work as my German/Swedish/Dutch users would like.
> 
> Valentina 1.x can't do it, but perhaps the new ignorewords list in
> 2.x can do just this (if one can apply it to indexed fields, not just
> indexedByWords).

I think you simply need ReplaceAll() function to be used in BaseObject
method.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list