Fixed a thing
Additions for flags and triggers by updates to tables to set a table's sorted status to false.
Not sure exactly where in SortScan I would need to begin updating the base table.