Bugfix triggertime sort