Set priority of coding categories according to ARG. ARG is a list of coding categories ordered by priority. This function is provided for backward compatibility.