# Sort the Artists by the number of their Titles

**URL:** https://community.mp3tag.de/t/sort-the-artists-by-the-number-of-their-titles/15210
**Category:** General Discussion
**Created:** [November 16, 2013, 7:28pm UTC](https://community.mp3tag.de/t/sort-the-artists-by-the-number-of-their-titles/15210 "2013-11-16T19:28:47Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![oo131193oo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/bc8723/32.png) [@oo131193oo](https://community.mp3tag.de/u/oo131193oo)
#### Post date: [November 16, 2013, 7:28pm UTC](https://community.mp3tag.de/t/sort-the-artists-by-the-number-of-their-titles/15210/1 "2013-11-16T19:28:47Z")

</div>

hey 🙂

is it possible to sort the artist coloumn by the number of titles a artist has?  
So that I can see who has the most titles in my Library and the less.  
I need it because i need to edit all titles to check correct Information.  
And I wanna start with the complete Artist/Albums. ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

Example:  
Artist-v...(Titles)  
A..........10  
B...........6  
C...........3

---

<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: [November 16, 2013, 7:45pm UTC](https://community.mp3tag.de/t/sort-the-artists-by-the-number-of-their-titles/15210/2 "2013-11-16T19:45:06Z")

</div>

You can sort by artist. But what has the number of titles to do with it?

If you want to see the number of track by an artist, you can use Windows Media Player. That counts them.

---

<div class="post-metadata">

### Author: ![oo131193oo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/bc8723/32.png) [@oo131193oo](https://community.mp3tag.de/u/oo131193oo)
#### Post date: [November 16, 2013, 7:52pm UTC](https://community.mp3tag.de/t/sort-the-artists-by-the-number-of-their-titles/15210/3 "2013-11-16T19:52:44Z")

</div>

I have a lot of Artists.  
And the ones with only 3 titles etc. arent interesting for me.  
The ones with most titles need to be edited and have highest priority.  
Thats why I need to sort them by the mass of Albums or Titles.  
... If It's possible 😃

---

<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: [November 16, 2013, 8:19pm UTC](https://community.mp3tag.de/t/sort-the-artists-by-the-number-of-their-titles/15210/4 "2013-11-16T20:19:09Z")

</div>

I can only think of really turning the whole collection upside down to get all the tracks of one artist into a single folder and then use the numbering wizard.  
But I would advise to use WMP for this purpose.

---

<div class="post-metadata">

### Author: ![oo131193oo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/bc8723/32.png) [@oo131193oo](https://community.mp3tag.de/u/oo131193oo)
#### Post date: [November 16, 2013, 8:28pm UTC](https://community.mp3tag.de/t/sort-the-artists-by-the-number-of-their-titles/15210/5 "2013-11-16T20:28:55Z")

</div>

okay thats too complicated.  
I'll just search for the Artist.  
thank you for your help 🙂

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 17, 2013, 6:08am UTC](https://community.mp3tag.de/t/sort-the-artists-by-the-number-of-their-titles/15210/6 "2013-11-17T06:08:53Z")

</div>

I once had a similar task. The only difference was that I wanted the know which were the not complete albums with the most mp3s in it, just to to start tagging with them.

DetlevD helped me to fing a solution in this german thread:  
[/t/9623/1](https://community.mp3tag.de/t/9623/1)

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [November 17, 2013, 9:05am UTC](https://community.mp3tag.de/t/sort-the-artists-by-the-number-of-their-titles/15210/7 "2013-11-17T09:05:50Z")

</div>

> [@oo131193oo](#):
>
> ... is it possible to sort the artist coloumn by the number of titles a artist has?  
> So that I can see who has the most titles in my Library and the less. ...

Your request is similar to this question ...  
Listing all Artists from Album into One Tag Field  
[/t/14438/1](https://community.mp3tag.de/t/14438/1)

I have modified my export script proposal from there to apply here.

**1: $filename($getEnv('USERPROFILE')'\Desktop\Mp3tag.Report.PrepareArtistSortByNumberOfFiles.txt',UTF-8)** 

**2: $loop(%ARTIST%)$puts(CountFiles,0)$loop(%ARTIST%)$loop(%\_path%)$puts(CountFiles,$add($get(CountFiles),1))$loopend()$loopend()  
3: $loop(%ARTIST%)'"'%ARTIST%'","'$get(CountFiles)'","'%\_path%'"'  
4: $loopend()$loopend()  
5: $puts(Info,'This Mp3tag export script creates a report text file of format CSV (comma separated values).')  
6: $puts(Info,'The CSV columns are: "Artist","CountFiles","Filepath".')  
7: $puts(Info,'The CSV output list is sorted by "Artist".')  
8: $puts(Info,'The CSV column "CountFiles" contains the sum of files per artist, which have been collected from the files of the related Artist.')$puts(Info,)**

 

You have to import the report output file into the selected files, ...  
using the converter "Textfile -Tag" with a format string like ...  
"%DUMMY%","%SumOfFilesPerArtist%","%\_path%"

 

The import process complains about empty lines, which cannot be parsed, this can be ignored.

 

You have to create a column in the Mp3tag grid view for the new tag field ...  
Name = SumOfFilesPerArtist  
Value = %SumOfFilesPerArtist%  
Numerical = yes

 

Then sort the track list using this column.

 

[20131117.PrepareArtistSortByNumberOfFiles.mte](https://community.mp3tag.de/uploads/default/original/2X/4/4f3c52ca982b1a15196a889aef5c3449c79a602e.mte) (755 Bytes)  
DD.20131117.1118.CET

 

[20131117.PrepareArtistSortByNumberOfFiles.mte](https://community.mp3tag.de/uploads/default/original/2X/4/4f3c52ca982b1a15196a889aef5c3449c79a602e.mte) (755 Bytes)
