# Sort files by extension

**URL:** https://community.mp3tag.de/t/sort-files-by-extension/65613
**Category:** Support
**Created:** [August 15, 2024, 9:53am UTC](https://community.mp3tag.de/t/sort-files-by-extension/65613 "2024-08-15T09:53:40Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Pavel206](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/7cd45c/32.png) [@Pavel206](https://community.mp3tag.de/u/Pavel206)
#### Post date: [August 15, 2024, 9:53am UTC](https://community.mp3tag.de/t/sort-files-by-extension/65613/1 "2024-08-15T09:53:40Z")

</div>

The file name column fails sort file names by their extension, for example \*.mp3, \*.wma, \*.m4a, .... .

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [August 15, 2024, 9:55am UTC](https://community.mp3tag.de/t/sort-files-by-extension/65613/2 "2024-08-15T09:55:25Z")

</div>

You could add a new column in the [File List](https://docs.mp3tag.de/customization/file-list/) and display only the extension with the  
Value:  
`%_extension%`  
This way (with a click on the column header) you could sort your songs by the extension only.

To modify the columns click on View -\> Customize Columns or right click on a existing column header.

---

<div class="post-metadata">

### Author: ![Pavel206](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/7cd45c/32.png) [@Pavel206](https://community.mp3tag.de/u/Pavel206)
#### Post date: [August 15, 2024, 10:20am UTC](https://community.mp3tag.de/t/sort-files-by-extension/65613/3 "2024-08-15T10:20:49Z")

</div>

Thank you for the quick and correct answer. I also tried it this way, but I didn't know what data to enter in the "value" field.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [August 15, 2024, 11:22am UTC](https://community.mp3tag.de/t/sort-files-by-extension/65613/4 "2024-08-15T11:22:52Z")

</div>

If you always want to sort by extension and then by filename, you could modify the column definition for the filename and set for  
Sort by: %\_extension%%\_filename%  
 ![grafik](https://community.mp3tag.de/uploads/default/original/3X/e/f/ef4f75ea4d4ded43ffcf0dbb2fc7f8e9ca219b7f.png)

---

<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: [September 14, 2024, 11:23am UTC](https://community.mp3tag.de/t/sort-files-by-extension/65613/5 "2024-09-14T11:23:33Z")

</div>

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