Hello David,
This will not work as the index seems to be sharing the space occupied by the InfoSF.
Yes, that's what the OVERLAY keyword does. It causes two fields to
share the same space.
If you don't want Index and InfoSF to occupy the same space, don't tell
the compiler to overlay one with the other.
I'm not sure that I understand what you're attempting to do here. What
is "Index"? If it's the RRN of the subfile, then there's absolutely no
need to sort it if your goal is simply to reverse the order. Just load
it into the array, then read the array backwards...