This is another refactoring in the multi-step process to remove all uses
of our custom Render Buffer.
Previous commit: d0ad5ecc6dd69db5c4550d921bc5de99b9a47687 in this
series.
This commit affects the table header sorting on the admin directory page.
It is just a refactor and should not change any functionality.