# Sorted flow elements

**URL:** <https://forum.flowable.org/t/sorted-flow-elements/6000>\
**Category:** Uncategorized\
**Created:** [May 12, 2020, 5:15am UTC](https://forum.flowable.org/t/sorted-flow-elements/6000 "2020-05-12T05:15:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prs.parisa](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@prs.parisa](https://forum.flowable.org/u/prs.parisa)\
**Post date:** [May 12, 2020, 5:15am UTC](https://forum.flowable.org/t/sorted-flow-elements/6000/1 "2020-05-12T05:15:48Z")

</div>

Hi

I want to get my elements sorted. I mean that I want them to be in the real order. but i get them using this method:

process.getFlowElements()

and they are not sorted.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/2/2a0a76cd3ab3a44e4d3e70115166cb4d4a83a995.png)

is there any way?

---

<div class="post-metadata">

**Author:** ![martin.grofcik](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/martin.grofcik/32/71_2.png) [@martin.grofcik](https://forum.flowable.org/u/martin.grofcik)\
**Post date:** [May 12, 2020, 8:01am UTC](https://forum.flowable.org/t/sorted-flow-elements/6000/2 "2020-05-12T08:01:12Z")

</div>

Hi,

What kind of sorting do you mean?

Martin

---

<div class="post-metadata">

**Author:** ![prs.parisa](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@prs.parisa](https://forum.flowable.org/u/prs.parisa)\
**Post date:** [May 31, 2020, 3:56am UTC](https://forum.flowable.org/t/sorted-flow-elements/6000/3 "2020-05-31T03:56:57Z")

</div>

I was mistaken, I solved the issue.
