# Export sorted on artist, then title?

**URL:** <https://community.mp3tag.de/t/export-sorted-on-artist-then-title/50556>\
**Category:** Support\
**Created:** [October 23, 2020, 2:23pm UTC](https://community.mp3tag.de/t/export-sorted-on-artist-then-title/50556 "2020-10-23T14:23:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LarsErikOsterud](https://community.mp3tag.de/user_avatar/community.mp3tag.de/larserikosterud/32/8145_2.png) [@LarsErikOsterud](https://community.mp3tag.de/u/LarsErikOsterud)\
**Post date:** [October 23, 2020, 2:23pm UTC](https://community.mp3tag.de/t/export-sorted-on-artist-then-title/50556/1 "2020-10-23T14:23:21Z")

</div>

Is it possible to sort export list first by artist, then by song title?  
It kind of works with two loops:

$loop(%artist%)  
$loop(%title%)

The text output us sorted as I wanted, but the shadow on odd numbered lienes doesn't work as "counter" only refers to the last loop (I guess)

---

<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:** [October 23, 2020, 2:25pm UTC](https://community.mp3tag.de/t/export-sorted-on-artist-then-title/50556/2 "2020-10-23T14:25:46Z")

</div>

Yes, 2 loops is the correct approach.  
Yet, I do not see any

> [@LarsErikOsterud](#):
>
> "counter"

in the loop.  
What are you referring to?

---

<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:28pm UTC](https://community.mp3tag.de/t/export-sorted-on-artist-then-title/50556/3 "2026-02-09T12:28:53Z")

</div>


