MT#4369 optimize callflow using a custom query

we need to disable the sorting option on the columns though