collator

fun collator(caseSensitive: Expression<BooleanValue>? = null, diacriticSensitive: Expression<BooleanValue>? = null, locale: Expression<StringValue>? = null): Expression<CollatorValue>(source)
fun collator(caseSensitive: Boolean? = null, diacriticSensitive: Boolean? = null, locale: String? = null): Expression<CollatorValue>(source)

Returns a collator for use in locale-dependent comparison operations. The caseSensitive and diacriticSensitive options default to false. The locale argument specifies the IETF language tag of the locale to use. If none is provided, the default locale is used. If the requested locale is not available, the collator will use a system-defined fallback locale. Use resolvedLocale to test the results of locale fallback behavior.