{% assign split_mark = '<|>' %}

{% assign categories = '' %}
{% for category in site.categories %}
  {% assign name = category | first %}
  {% assign categories = categories | append: split_mark  | append: name %}
{% endfor %}

{% assign return = categories
  | remove_first: split_mark
  | split: split_mark
  | sort: self %}
