Add moderm and sort conditions
Add and refactor modrm