Use a separate id for the requires view
Put default-sort as a per-table attribute

There used to be a default sort var set in a script tag
but it was overlooked in recent changes,
and it wasn't clear which table it would apply to if there was more than one,
so put it on each table as a data attribute.