Magento 2 sort multi select attributes by selected and alphabetical order
I'm trying to sort multi-select attributes by selected values at the top and alphabetical order shown in the admin product edit page. I tried using JS to sort alphabetical but didn't succeed. Please check the screenshot below.