20. The method according to claim 11 , further comprising using at least two sorting tables, wherein each of said at least two sorting tables comprises a set of code words and a set of syntax elements, and wherein the method further comprises using the hierarchy level to select a sorting table from said at least two sorting tables; using said code word to select the syntax element; and swapping the syntax element with another syntax element of said set of syntax elements of the selected sorting table.
11. A method comprising: receiving a code word; determining a hierarchy level in a tree structure, wherein the tree structure relates to at least one of a transform block size, a prediction block size, or a block size, and wherein the hierarchy level represents division of a block into smaller blocks; determining, by a computing device, a mapping to obtain a syntax element on the basis of said hierarchy level, wherein the syntax element relates to at least one of a coded block pattern, a transform split pattern, or motion partition information; and updating the mapping.