clients and messages order by