<?php setLocale(LC_ALL, 'fr_FR'); $names = [ 'Zoey and another (word)', 'Émilie and another word', 'Amber' ]; array_multisort( array_map(fn($v) => iconv('utf-8', 'ascii//TRANSLIT', $v), $names), $names ); var_export($names);
You have javascript disabled. You will not be able to edit any code.