···348348 if (aIsUser && !bIsUser) return -1
349349 if (bIsUser && !aIsUser) return 1
350350 // prioritize "common" langs in the network
351351- const aIsCommon = !!APP_LANGUAGES.find(al => al.code2 === a.value)
352352- const bIsCommon = !!APP_LANGUAGES.find(al => al.code2 === b.value)
351351+ const aIsCommon = !!APP_LANGUAGES.find(
352352+ al =>
353353+ // skip `ast`, because it uses a 3-letter code which conflicts with `as`
354354+ // it begins with `a` anyway so still is top of the list
355355+ al.code2 !== 'ast' && al.code2.startsWith(a.value),
356356+ )
357357+ const bIsCommon = !!APP_LANGUAGES.find(
358358+ al =>
359359+ // ditto
360360+ al.code2 !== 'ast' && al.code2.startsWith(b.value),
361361+ )
353362 if (aIsCommon && !bIsCommon) return -1
354363 if (bIsCommon && !aIsCommon) return 1
355364 // fall back to alphabetical