I want to sort a list of objects based on one field(player.name), but in Spanish there are accents that don't have to be taken into account when ordering.
I sort the list:
strikers.sortedWith(compareBy { it.name })
But I have no idea how to apply to the above sorting
val spanishCollator = Collator.getInstance(Locale("es", "ES"))
How can I achieve this?