import{isShorthand as e}from"./isShorthand.mjs";import{prefix as o}from"./vendor.mjs";function r(r,t){let n=r.name.toLowerCase(),m=t.name.toLowerCase(),a=r.unprefixedName.toLowerCase(),s=t.unprefixedName.toLowerCase();return!!e(a,s)||!e(s,a)&&(a===s?!(!o(n).length&&o(m).length):a<s)}export{r as checkAlphabeticalOrder};