Order by in SPL routines
A poster asked about a line in the IDS 10.x manual stating "The ORDER BY clause is not valid in queries within an SPL routine," since he had been using ORDER BY inside stored procedures without problems and getting correctly sorted results. Two other contributors (including Art Kagel) replied that ORDER BY has always worked for them in SPL and that the documentation statement appears to be a mistake, with no plausible explanation for it. No authoritative clarification or official resolution is recorded in the thread.