# Export Sort

**URL:** https://community.mp3tag.de/t/export-sort/6645
**Category:** Support
**Created:** [April 16, 2008, 10:15am UTC](https://community.mp3tag.de/t/export-sort/6645 "2008-04-16T10:15:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cjcpr](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/df788c/32.png) [@cjcpr](https://community.mp3tag.de/u/cjcpr)
#### Post date: [April 16, 2008, 10:15am UTC](https://community.mp3tag.de/t/export-sort/6645/1 "2008-04-16T10:15:20Z")

</div>

How do I sort by file name when exporting tags to a text file?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [April 18, 2008, 5:59pm UTC](https://community.mp3tag.de/t/export-sort/6645/2 "2008-04-18T17:59:45Z")

</div>

Open the export file so you can edit it.  
Sorting is defined by the placeholders inside $loop()  
$loop(%\_path%) sorts by path  
$loop(%\_filename%) sorts by filename

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:20pm UTC](https://community.mp3tag.de/t/export-sort/6645/3 "2026-02-09T12:20:54Z")

</div>


