Sort does not work when listing a table


When listing a table, for example cmdb_ci, the sort is not working for any field in the list.  
No system property [/] or user preference [] were found that could be affecting the sort on the table or tables.  




A custom Before Query Business Rule was created to sort that table in an specific way.  
An example of the code could be:


(function executeRule(current, previous /*null when async*/) {

var query = 'ORDERBYlocation^ORDERBYname';

})(current, previous); 






Evaluate if the Before Query Business Rule is still valid or de-activate it.