<?php
setlocale(LC_COLLATE, 'tr_TR.utf8'); // or any other locale I use.
$aInput['values'] = array('foo',1,'bar',2,'baz',true,'quux',false,'abc',null);
uasort($aInput['values'],'strcoll');
Deprecated: strcoll(): Passing null to parameter #2 ($string2) of type string is deprecated in /in/8jg7l on line 5
Deprecated: strcoll(): Passing null to parameter #2 ($string2) of type string is deprecated in /in/8jg7l on line 5
Deprecated: strcoll(): Passing null to parameter #2 ($string2) of type string is deprecated in /in/8jg7l on line 5
Deprecated: strcoll(): Passing null to parameter #2 ($string2) of type string is deprecated in /in/8jg7l on line 5
Deprecated: strcoll(): Passing null to parameter #2 ($string2) of type string is deprecated in /in/8jg7l on line 5
Deprecated: strcoll(): Passing null to parameter #2 ($string2) of type string is deprecated in /in/8jg7l on line 5