I was pretty annoyed by the fact that the FreePBX/Asterisk Time Conditions list was sorted by Priority - And not name. And the interface does not provide a way of changing the Priority.
So I found out where to change the sorting, and would like to share it with the rest of the community. So here goes.
Get access to your server - I used SFTP, but SSH with NANO will also suffice.
The file is located here /var/www/html/admin/modules/timeconditions and is named functions.inc.php.
Locate the function named timeconditions_list and change the line with the SQL from:
to
As always, changing this is at your own discretion - Errors may occur, and keep backup of your changes - And updates to the module might also break this fix - So you have to re-apply it.