Sort elements by type

The Elements admin page only allows you to sort your existing elements by title and date.

Elements admin screen
Elements admin screen

Sometimes, especially when there is a large number of those, it would be nice if there were other sorting options. The following code added to your functions.php file of your child theme will allow you to also be able to sort by Type.

As you see from the following screenshot (red underline), the Type column is now sortable.

Elements admin screen with sortable type column
Elements admin screen with sortable type column