Nov-29-2023, 01:57 AM
(Nov-29-2023, 01:45 AM)rob101 Wrote: What is unclear here is why the order is important. List objects are "random access" and as such the order should not be relevant. If (for whatever reason) the order IS important, then possibly the best course of action would be to first have the source list sorted, then once the sub-list has been assembled, also sort that sub-list. That way the order will be preserved.
In my case, it is actually important to maintain the order of the static list and follow the order of the static list.