Hello,
looking at this example on filtering by tags.
Whats the best method to organise the fetched tags in alphabetical order?
Hello,
looking at this example on filtering by tags.
Whats the best method to organise the fetched tags in alphabetical order?
For the tag cloud you mean?
$tags = $page->children()->listed()->pluck('tags', ',', true);
sort($tags);
should do the job. You might want to use flags to fine-tune sorting: PHP: sort - Manual