search bar
Jamroom Developers
That's a hard one to do in my head.
The jrCore_list function is just a wrapper for the jrCore_db_search_items() function.
If order is important take a look in /modules/jrCore/lib/datastore.php for a function _jrCore_db_search_items() and check out all the events that happen in there.
A solution could be that after the search results have been found you use a 'listener' to re-apply the order.
The events in that function are:
* 'db_search_params'
* 'db_search_cache_check'
* 'db_search_simple_keys'
* 'db_search_count_query'
* 'db_search_items_query'
* 'db_search_items'
* 'db_search_results'
So there's a lot of locations to choose from in that flow.