Block feature: Filterable and sortable Tables
What
A single slider in a Table's block settings (side-menu) enables Table to be FILTERABLE and SEARCHABLE. Allows front-end user to sort columns (A-Z, Z-A, original order) AND user can type in search box which dynamically filters Table contents.
Option in Table settings to define how many results per page in the table (10, 25, 100, all)
Why
Long Tables in WP are incredibly time consuming to search through to find the rows you need.
SORTING organizes information intuitively for quick browsing. FILTERING adds powerful search functionality when you're trying to retrieve many possible rows scattered throughout a dataset.
Spreadsheets are better for computation (in either Googlesheets or Excel), but these two functions aim at information retrieval on a website or post.
Table of information on a website page is more easily browsed by site visitors. Would be incredibly helpful for sites focused on project management (sorting A-Z by team name or priority OR filtering for all projects with a certain keyword or certain team name).
These two functions take the burden off the author to ensure that the Table data is organized well before posting. These two functions provide really flexible tools to retrieve any desired row, despite organization.
How
https://user-images.githubusercontent.com/37377834/157973450-6a768fc6-a2a3-4be0-96d9-ef8e64615b1f.mp4
Hoping to raise this issue to the forefront again for some new eyeballs. Basic sorting of Table Headers in the Table Block is not yet available. That would be a great feature to have. While Searchable is a nice-to-have for me, Sortable is a must-have.
In case anyone else comes across this issue, I've released a free plugin that enhances the default Table block with DataTables.js so you can sort and search the table data 🔥
www.github.com/robertdevore/table-block-enhancer/ Hopefully someone from Automattic can finally get features like this built into core, so workarounds like my plugin aren't needed.
With our project, we want to stick to core as closely as possible which is why I'd love to see table sorting added to the table block.
Sharing feedback from WordPress.com users (via our in-product surveys) asking for sortable tables — the ability to sort a table by column data:
One thing that would be great: even having some simple functionality like being able to sort by column data would be a win.