Fix a notice.
Ensure the sort panel element has a name.