# Sort in national alphabetical order

**URL:** <https://techcommunity.softwareag.com/t/sort-in-national-alphabetical-order/301390>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [October 10, 2024, 5:25am UTC](https://techcommunity.softwareag.com/t/sort-in-national-alphabetical-order/301390 "2024-10-10T05:25:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evgen](https://avatars.discourse-cdn.com/v4/letter/e/85f322/32.png) [@Evgen](https://techcommunity.softwareag.com/u/Evgen)\
**Post date:** [October 10, 2024, 5:25am UTC](https://techcommunity.softwareag.com/t/sort-in-national-alphabetical-order/301390/1 "2024-10-10T05:25:26Z")

</div>

#### _ **Product/components** used and **version/fix** level:_

NAT228  
NAT316  
ADA623  
z/VM 4.4, CMS  
DFSRTLIB TXTLIB (DFSORT VER 2.1 02/21/91)  
Also i have SYNCSORT TXTLIB.

#### _Detailed explanation of the problem:_

How to change collating sequence for external sort (dfsort, syncsort) and/or for internal sort?  
How to correctly pass dfsort options via EXTOPT statement of NTSORT macro?  
For example, below macro doesn’t work correctly:  
NTSORT WRKSIZE=256,STORAGE=MAIN,EXT=ON,EXTNAME=SORT,  
EXTEOJ=OFF,EXTOPT=(ALTSEQ CODE=(fftt,fftt), OPTION CHALT)  
and give me this message: DUF013A 0 Invalid operand for SORT or MERGE clause.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 8, 2025, 5:25am UTC](https://techcommunity.softwareag.com/t/sort-in-national-alphabetical-order/301390/2 "2025-04-08T05:25:50Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
