3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=['z','Z','ą', 'Ą', 'a', 'o','ó','Ó','ł','Ł','ź','A','Ż','ę','e','ć','ń','ś']; $coll = new Collator( 'pl_PL' ); var_export( $a ); $coll->sort( $a ); var_export( $a );
based on iZ3l7