How to; Sort a dataset by a field that contains a time, so the connected repeaters show in chronological order

Question:
I have a repeater connected to a database that contains segments of a day program, each containing a field that states the start time of the segment. I cannot seem to select the time field in the sort setting, is it possible to set the sort settings with help of code? I would like to sort the segment in chronological order.

Product:
Editor X.

Thanks in advance!

Yes, you can sort this field using ascending and descending:

But you’ll also need to recreate any other filters and assign the data to your repeater using code. Some starting points are here: https://www.wix.com/velo/reference/getting-started/working-with-repeaters and here: Introduction - Velo API Reference - Wix.com