Is there anything in Moodle to create a sortable, paginated table?
I've used html_table quite a bit, but that only seems to handle simple tables as it stands.
I've also used flexible_table() but beyond a certain point is incomprehensible. It obviously does have some sorting facilities but appears to be linked directly to SQL queries. In addition things like sorting direction are not exposed in the URL, they are buried in the session.
There doesn't seem to be anything to provide sorting and pagination for simple tables full of text (like) data or that expose the current column/direction state to enable this to be done outside the table API.
Or am I completely missing something?