Fix reorderEntities for DistributedMesh
The current naïve implementation cannot work - DistributedMeshSynchronizer
assumes that global indices of local entities are sorted, so we should update the global indices too and exchange the new global indices for ghost entities.
Edited by Jakub Klinkovský