# Fespace boundary sort

**URL:** <https://community.freefem.org/t/fespace-boundary-sort/342>\
**Category:** General Discussion\
**Created:** [April 11, 2020, 2:01am UTC](https://community.freefem.org/t/fespace-boundary-sort/342 "2020-04-11T02:01:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amina](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@amina](https://community.freefem.org/u/amina)\
**Post date:** [April 11, 2020, 2:01am UTC](https://community.freefem.org/t/fespace-boundary-sort/342/1 "2020-04-11T02:01:30Z")

</div>

Dear all,

Can anyone enlighten me on the relationship between the mesh connectivity and the fespace connectivity?  
I actually rearranged my mesh nodes on the boundaries to make sure they’re in ascending order with regards to an axis (say Y axis), but the related dofs are not sorted the same way in the fespace. In fact, when I return the dofs on that specific boundary, there is no respected ordering. Actually, I need this to glue submeshes (as in domain decomposition), and I need that the boundary numbering where I glue my meshes follow the same logic.

Thanks.

---

<div class="post-metadata">

**Author:** ![amina](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@amina](https://community.freefem.org/u/amina)\
**Post date:** [April 13, 2020, 7:15pm UTC](https://community.freefem.org/t/fespace-boundary-sort/342/2 "2020-04-13T19:15:20Z")

</div>

This is using P2 elements
