entities hierarchy ordering + forms validation example (groups)