........S. [ZBX-3163] implemented trigger sorting according to trigger dependency topology