implement mesh_build(), also creates face and edge orientations

- new uint32_sort234_copy()