# Inverse looping

**URL:** https://community.mp3tag.de/t/inverse-looping/4436
**Category:** Export
**Created:** [February 6, 2007, 10:59pm UTC](https://community.mp3tag.de/t/inverse-looping/4436 "2007-02-06T22:59:55Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![eusty](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/2acd7d/32.png) [@eusty](https://community.mp3tag.de/u/eusty)
#### Post date: [February 6, 2007, 10:59pm UTC](https://community.mp3tag.de/t/inverse-looping/4436/1 "2007-02-06T22:59:55Z")

</div>

In my export I have

$loop(%\_file\_create\_datetime\_raw%)

Which works fine, but it sorts in ascending order (oldest first), is it possible to reverse the sort? i.e. from newest to oldest file?

Thanks

Steve

---

<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: [February 7, 2007, 12:12am UTC](https://community.mp3tag.de/t/inverse-looping/4436/2 "2007-02-07T00:12:16Z")

</div>

In this case you can use  
$loop($sub(%\_file\_create\_datetime\_raw%,10000000000))

---

<div class="post-metadata">

### Author: ![eusty](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/2acd7d/32.png) [@eusty](https://community.mp3tag.de/u/eusty)
#### Post date: [February 7, 2007, 10:03pm UTC](https://community.mp3tag.de/t/inverse-looping/4436/3 "2007-02-07T22:03:48Z")

</div>

Excellent!! Thanks 😃
