What the title says. Specifically if I have
$array1[\'name\'] = \'zoo\'; $array2[\'name\'] = \'fox\';
How can I determine that alphabetically <
You can compare both strings with strcmp:
Returns < 0 if str1 is less than str2; > 0 if str1 is greater than str2, and 0 if they are equal.