select a_code, avg(sales) from clerk group by a_code order by avg(sales) desc ;