# Sort order nickless\_javasort\_lite\_link

**URL:** https://community.mp3tag.de/t/sort-order-nickless-javasort-lite-link/3775
**Category:** Export
**Created:** [September 17, 2006, 11:14am UTC](https://community.mp3tag.de/t/sort-order-nickless-javasort-lite-link/3775 "2006-09-17T11:14:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sat\_Wolf](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@Sat\_Wolf](https://community.mp3tag.de/u/Sat_Wolf)
#### Post date: [September 17, 2006, 11:14am UTC](https://community.mp3tag.de/t/sort-order-nickless-javasort-lite-link/3775/1 "2006-09-17T11:14:29Z")

</div>

Hi...  
I want to change the sort order of the first start from the "nickless\_javasort\_lite\_link" template, but I cant´t find the right string. by the first start is the sort by the track, but i want a sort by track and them album. Is this possibly????

---

<div class="post-metadata">

### Author: ![nickless](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nickless/32/36_2.png) [@nickless](https://community.mp3tag.de/u/nickless)
#### Post date: [September 17, 2006, 3:02pm UTC](https://community.mp3tag.de/t/sort-order-nickless-javasort-lite-link/3775/2 "2006-09-17T15:02:34Z")

</div>

Hi  
Yes, it's possible, change the line 168 of config from  
Array.prototype.sort\_stack = new Array(-1,-1,-1,-1,-1);  
to  
Array.prototype.sort\_stack = new Array(1,2,-1,-1,-1);

There is also a comment in the file that describes what numbers other fields have.

---

<div class="post-metadata">

### Author: ![Sat\_Wolf](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/96bed5/32.png) [@Sat\_Wolf](https://community.mp3tag.de/u/Sat_Wolf)
#### Post date: [September 17, 2006, 8:12pm UTC](https://community.mp3tag.de/t/sort-order-nickless-javasort-lite-link/3775/3 "2006-09-17T20:12:21Z")

</div>

Thanks...this is the one that i search 2 hours! I take now this string  
Array.prototype.sort\_stack = new Array(5,1,2,-1,-1);  
now it sorts by date,album and track.

Thanks for the great Export template!!! 😃
