Entity cards should be sortable

Like the 0.99 devices data table and the unused entities data table. This could be a configurable option too for the entity registry, the entity states table in Developer Tools, logs, and customizations.