×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 5/2/2012 1:15 PM, Jon Paris wrote:
The only way to make it work with sorta is if the two fields are
adjacent in the array element _and_ in the right order _and_ are both
character fields.
They also have to be fixed-length character fields.
But I think qsort is better for this purpose anyway even if they were
both fixed length character. Once you have qsort set up, it's easy to
modify it to change how the comparison is done. (It's not hard to set up
in the first place.)
Using the technique where you use a character overlay to sort several
subfields is kludgy and if if it's not very carefully and visibly
documented, it's error prone.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.