次のような配列を並べ替えるにはどうすればよいですか?$array[$i]['title'];
配列構造は次のようになります。
array[0] (
'id' => 321,
'title' => 'Some Title',
'slug' => 'some-title',
'author' => 'Some Author',
'author_slug' => 'some-author'
);
array[1] (
'id' => 123,
'title' => 'Another Title',
'slug' => 'another-title',
'author' => 'Another Author',
'author_slug' => 'another-author'
);
では、データは配列のタイトルフィールドに基づいてASCの順序で表示されますか?