I created a module that logically -using an OO metaphor- is a subclass of jrComment. Accordingly I would like the listeners for jrComment to function first before the equivalent listeners in my module (the subclass of jrComment).
My particular concern lies with jrComment_db_search_items_listener. Threaded comments need to be ordered and jrComment_db_search_items_listener embeds the functionality for doing so.
It is of course not appealing for me to replicate the ordering logic (sorting twice) in my db_search_items_listener. I would much rather force my db_search_items_listener to engage after the jrComment_db_search_items_listener.
Thus my question: is there any mechanism for imposing a module dependency on listeners?
------------
( I created my module only to avoid making changes in jrComment. It would be trivial to just add my logic on the tail end of the jrComment listener. )
--
TiG
updated by @tig: 11/29/17 09:06:26AM