# Sort column in an export alphabetically (tab)

**URL:** <https://community.easymorph.com/t/sort-column-in-an-export-alphabetically-tab/1926>\
**Category:** General Q&A\
**Created:** [June 19, 2020, 2:39pm UTC](https://community.easymorph.com/t/sort-column-in-an-export-alphabetically-tab/1926 "2020-06-19T14:39:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexandreV](https://community.easymorph.com/letter_avatar_proxy/v4/letter/a/35a633/32.png) [@AlexandreV](https://community.easymorph.com/u/AlexandreV)\
**Post date:** [June 19, 2020, 2:39pm UTC](https://community.easymorph.com/t/sort-column-in-an-export-alphabetically-tab/1926/1 "2020-06-19T14:39:32Z")

</div>

Hello,

Is there a way to reoder column alphabetically dinamically :

Morph test recive file 1 :

Col X ; Col A ; Col E; Col z

Morph test recive file 2 :

Col z ; Col E ; Col X; Col A

And want all file exported by Morph Test :

Col A ; Col E ; Col X; Col z

Thanks by advance for your help

Alexandre

---

<div class="post-metadata">

**Author:** ![RJO](https://community.easymorph.com/user_avatar/community.easymorph.com/rjo/32/4084_2.png) [@RJO](https://community.easymorph.com/u/RJO)\
**Post date:** [June 19, 2020, 4:08pm UTC](https://community.easymorph.com/t/sort-column-in-an-export-alphabetically-tab/1926/2 "2020-06-19T16:08:26Z")

</div>

Hello, maybe you can try to unpivot, sort by Labels in the order you want and then Pivot again ?

---

<div class="post-metadata">

**Author:** ![dgudkov](https://community.easymorph.com/user_avatar/community.easymorph.com/dgudkov/32/5_2.png) [@dgudkov](https://community.easymorph.com/u/dgudkov)\
**Post date:** [June 21, 2020, 10:26pm UTC](https://community.easymorph.com/t/sort-column-in-an-export-alphabetically-tab/1926/3 "2020-06-21T22:26:20Z")

</div>

Hello Alexandre,

you can explicitly specify the necessary order of columns explicitly using the "Reorder columns" action. The first rule must specify the leftmost column. The rest of rules should use the "After column" positioning. However for many columns creating all the rules can be tedious.

Alternatively, you can use the feature of the "Append" action that the order of columns is always defined by the table to which another table is appended.

See the example below that demonstrates the both variants to specify a column order explicitly.

[explicit-column-order.morph](https://community.easymorph.com/uploads/short-url/b1cFUp2TMl0yEassYLlT4oO3hxp.morph) (7.6 KB)

---

<div class="post-metadata">

**Author:** ![AlexandreV](https://community.easymorph.com/letter_avatar_proxy/v4/letter/a/35a633/32.png) [@AlexandreV](https://community.easymorph.com/u/AlexandreV)\
**Post date:** [July 10, 2020, 1:47pm UTC](https://community.easymorph.com/t/sort-column-in-an-export-alphabetically-tab/1926/4 "2020-07-10T13:47:08Z")

</div>

Hello,  
Thank you for your reply I have found an other way fully dynamic.  
Alexandre

![27](https://community.easymorph.com/uploads/default/original/2X/0/0fe350b0c286cda611def068c894b99607c08dfe.png)
