Including labels/sub-headings in-between the displayed attributes in the dropdown of Bootstrap Multiselect widget

I am using Bootstrap Multiselect widget and I am able to display the required attributes with a multiselect option. Now I am trying to add labels/sub-headings inbetween the displayed attribute names to segregate/seperate them.   Please help me if this can be achieved using this widget/ is there any other option I could explore to achieve the same
1 answers

Unfortunatly I dont think you can with this widget.
I remember there was such a widget at some point, but cant seem to find it.

This one can be used to create something custom, but can take some work: