Cuneiform law
Unlike modern codes, Cuneiform law provides no universal formula for general areas of law. Rather, laws typically consist of specific "if... then..." cases that are meant to act as an example or precedent. Punishments for crimes vary from code to code, but not all prescribe vengeance. Some call only for fines in certain instances, such as in the Code of Ur-Nammu, where one line reads: "If a man knocks out the eye of another man, he shall weigh out one-half a mina of silver." These cases are sometimes arranged in a seemingly random order, though this may be the result of an inability to properly interpret them today as they would have been at the time they were in force.
Cuneiform (Unicode block)
Rather than opting for an ordering by glyph shape and complexity, the Unicode order of characters is the Latin alphabet order of their "main" Sumerian transliteration (placing signs on Š-, transliterated as SH-, between SAR and SI). In most (but not all) cases, the "etymological" decomposition of originally complex signs ("ligatures") has been chosen, even if the sign's most familiar value is another. For example, is better known as AMAŠ, is better known as ÁG, and is better known as ḪAR or ḪUR.