|
Is this a "what's wrong with this picture" problem? Sorry, couldn't resist. <g>
To answer your question: SortA does not and probably will never sort data structures. The new %SORT() built-in function will sort data structure arrays, however that won't be out until (at least) V5.3. The cool thing about %SORT() is that IBM may be able to include the data structure subfield sort capabilities, and I'm hoping they will, so you could do something like this: %sort(myDS : 'A' : NumElems : 'QTYORD')
Where myDS is the data structure array or array name; 'A' is either 'A' or
'D' for Ascending or Descending; NumElems is the max number of elements to
sort, and 'QTYORD' represents the data structure subfield name that will be
used to sort the data structure. ...
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.