# Sorting by title and length not working in Adjust tag information panel

**URL:** https://community.mp3tag.de/t/sorting-by-title-and-length-not-working-in-adjust-tag-information-panel/52928
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [April 21, 2021, 10:23pm UTC](https://community.mp3tag.de/t/sorting-by-title-and-length-not-working-in-adjust-tag-information-panel/52928 "2021-04-21T22:23:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [April 21, 2021, 10:23pm UTC](https://community.mp3tag.de/t/sorting-by-title-and-length-not-working-in-adjust-tag-information-panel/52928/1 "2021-04-21T22:23:52Z")

</div>

Hi @Florian,

Same issue as this one. [Sorting by length in the WSS info window does nothing - #3 by Florian](https://community.mp3tag.de/t/sorting-by-length-in-the-wss-info-window-does-nothing/48420/3)

It raises its ugly head again 💩

Here's the screenshot of the issue. Here's it's sorted by **length**. The same issue is there when sorting by **title** too.

 ![image](https://community.mp3tag.de/uploads/default/original/2X/9/9a9227b2336bf8aab4657923f5a05af2716f3bf6.png)

Here's the Beatport release in question:

> **[Defected presents Most Rated 2020 von Defected auf Beatport](https://www.beatport.com/release/defected-presents-most-rated-2020/2783957)**
>
> House music has enjoyed yet another incredible year, with 2020 looking set to continue providing yet more amazing additions to the genre. 'Defected presents Most Rated 2020' celebrates the wealth and variety of house created, played and enjoyed on...

Doing this sort works much better by clicking on the two length columns though.

 ![image](https://community.mp3tag.de/uploads/default/original/2X/3/36bf1c5d5d90c29c4f75c2ed082580f7aa56a323.png)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [April 22, 2021, 8:32am UTC](https://community.mp3tag.de/t/sorting-by-title-and-length-not-working-in-adjust-tag-information-panel/52928/2 "2021-04-22T08:32:32Z")

</div>

The problem here is that several tracks have identical or very similar track lengths. I'm using a one-second tolerance when computing the sorting suggestion, and this is already enough to make the result not matching the actual correct sorting — I think this is also why I've named the feature "Suggest ..." and not "Sort by ...".

I could remove the one-second tolerance, but this would then fail with other releases where there is a slight mismatch between the reported track length and the actual track length.

Another option would be to really use a multi-pass sorting computation, but this seems to be too much work for such a convenience feature.

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [April 22, 2021, 10:40am UTC](https://community.mp3tag.de/t/sorting-by-title-and-length-not-working-in-adjust-tag-information-panel/52928/3 "2021-04-22T10:40:07Z")

</div>

I forgot to scroll over on the left pane for the last screenshot but here's it sorted by length. There seems to be something wrong with the sorting function.

# Sorted by time

 ![image](https://community.mp3tag.de/uploads/default/original/2X/c/c547fec68cc4c91a70fa4de9d475ca98d1397a4b.png)

# Sorted by title

 ![image](https://community.mp3tag.de/uploads/default/original/2X/4/4771e78c64e0ae2e7d2acb4d4ec02756f3e29f44.png)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [April 23, 2021, 12:26pm UTC](https://community.mp3tag.de/t/sorting-by-title-and-length-not-working-in-adjust-tag-information-panel/52928/4 "2021-04-23T12:26:17Z")

</div>

I've completely rewritten the sorting and it should be much more reliable with [Mp3tag v3.06f](https://community.mp3tag.de/t/455).

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [April 23, 2021, 12:44pm UTC](https://community.mp3tag.de/t/sorting-by-title-and-length-not-working-in-adjust-tag-information-panel/52928/5 "2021-04-23T12:44:29Z")

</div>

Much better, thanks @Florian.

This seems resolved for now at least :).

 ![image](https://community.mp3tag.de/uploads/default/original/2X/9/9da2ed669722b2258d3436c927ebfc839c77de41.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: [May 23, 2021, 12:45pm UTC](https://community.mp3tag.de/t/sorting-by-title-and-length-not-working-in-adjust-tag-information-panel/52928/6 "2021-05-23T12:45:23Z")

</div>

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