import{isEmpty as o}from"lodash";var r=function(r,n,t){var i=null==r?void 0:r.sort((function(o,r){var n,t;return null===(n=r.group)||void 0===n?void 0:n.toString().localeCompare(null===(t=o.group)||void 0===t?void 0:t.toString())}));return n&&o(t)?i:o(t)?r:null==r?void 0:r.filter((function(o){return o.group===t.name}))};export{r as getFormattedOptions};
