Fixed order by in db query, on_communication trigger and applications search box