Just when I thought my problems were all over ... or at least the sorting ones ... I found that my machine didn't have enough virtual memory to handle the sort using ADODB (and I don't have the privilege level to do anything about it).
So I ported a heap sort to VBScript and ... so far ... everything look like it's going to work.
Here's the code
... and to use it, something like this ...