Sorting Multiselect entries

Hey Ho,

maybe anyone can help by sorting Multiselect values alphabetical in my Template.
In the panel there is all fine caused by “sort: true”.

my_multiselect_field:
  label: Labeltitle
  type: multiselect
  search: false
  sort: true
  options:
    - 18:00
    - 18:30
    - 19:00
    - …

…yml

<?php foreach ($page->my_multiselect_field()->split('|') as $category): ?>
  <?= $category ?>
<?php endforeach ?>

template.php

I have try out:

->flip()
->sort('flip')
->sortBy('flip')
->sort()
->sortBy()
->sort('asc')
->sort('desc')
->sort('asc')
…

It seems like no command does anything.

THX in advance!

This here returns an array, so you cannot call any collection methods here and need to resort to standard php sorting of arrays.