Here’s the snippet reproducing the issue.
In a regular multiselect element, its options are sorted by their id. However, in the header section of a datatable, the filter ignores ids and instead sorts values alphabetically. Is there a way to prevent that from happening?