Unsolicited sort occurs

@planteg, @AndyHibbs,
The layout and table never ran in single user mode. There is a found set, when the script has been called previously in the session.
Right after opening the find and show layout, Omit Multiple Records (Get(FoundCount)) is executed in order to clear the found set.
The sort over the entire table does not make sense to me in the given context and script.
The sort over the found set at the end of the script does.

I know this thread is old but I've just been reading about issues with Classic theme. I wonder if the layout was a modern theme or a classic theme?

The concerned file is new (this year) and never had a classic theme layout.