Get sorted results from DQL queries 

By Ulrich Krause | 6/6/19 9:33 AM | App Dev - Bluemix | Added by Roberto Boccadoro

NotesDominoQuery by now does not support sorting of the results that come out of a query. John Curtis demoed at DNUG46 in Essen how you can get your results sorted. He showed the code only for a second, so I needed to rewrite it from scratch. The method that he showed leverages from the new ‘maintainOrder’ property that has been added in V10 to the NotesViewEntryCollection class.