I'm sure this is really simple to do, but how do you sort by alphabetical (preferably a natural sort) in mongo w/ PHP? This is what I have right now:
$data->sort(array('title' => 1));
And it's not returning the array in alphabetical order. Am I missing something?!