Bribe, not quite =).
You'd keep an integer and 2 real values and sort by those (to keep accuracy). One real value would be remaining time and the integer/real value would be a timestamp.
From here, you'd actually have a binary heap of queues of remaining times. A timer would only move to a different queue when paused/resumed. This allows nodes to just move to the back of the heap like a timer queue, meaning that there are less operations on the heap (faster).
You'd either want to use a table or an array to access the heap nodes via the remaining time or timeout. I'd almost recommend a table as that would give you accuracy of up to 6 decimal places pretty easily. An array would only do 2 and would be limited to between 0 seconds and 81.91 seconds.
You'd sort by (intTimestamp1-intTimeStamp2)+(realTimeStamp1-realTimeStamp2)+(realTimeRemaining1-realTimeReamining2)
Another thing is that you want to inline this directly into a timer system and use its nodes directly as the timer queue nodes.
When evaluating a trigger, in the get data method, you want to move down the queue (no need for end flags or anything).
In the resume method, move the current timer to the back of a queue or to another queue and update its timestamp.
In the expire method, loop through heap until remaining time > 0. To do this, add .001 to the current time and loop until current time is greater than the expected expiring time of the timer.
timer expire time: intTimestamp+realTimestamp+realRemainingTime.
intTimestamp+realTimestamp+realRemainingTime<currentTimestamp
Also, for a timer system, you'd really want to stress all variable names that are as short as possible and put these variable names into a globals block and keep them in a short library name. This is to maximize the speed of the timer system.
After doing all of this, you could have a timer system that is faster than regular timers and that definitely owns KT2.
Also, as you add timers, adds its boolexpr to the trigger that it belongs to. Do not build the triggers or clear the triggers in the expire method!!!