# Slightly adjusting the default sort order on the account of one sign

**URL:** <https://community.mp3tag.de/t/slightly-adjusting-the-default-sort-order-on-the-account-of-one-sign/19766>\
**Category:** Support\
**Created:** [February 4, 2018, 7:22pm UTC](https://community.mp3tag.de/t/slightly-adjusting-the-default-sort-order-on-the-account-of-one-sign/19766 "2018-02-04T19:22:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [February 4, 2018, 7:22pm UTC](https://community.mp3tag.de/t/slightly-adjusting-the-default-sort-order-on-the-account-of-one-sign/19766/1 "2018-02-04T19:22:18Z")

</div>

The default alphabetical sort [in the direction from A to Z] order of ALBUM [or any tag] field is this:

```
Title
Title (Movie Score Expanded)
Title (Movie Score Extended)
Title (Movie Score)
Title (Video Game Score)

```

And the order I would like to see is this:

```
Title
Title (Movie Score)
Title (Movie Score Expanded)
Title (Movie Score Extended)
Title (Video Game Score)

```

So it seems that it comes down to this: the \>\>)\<\< should always come before the \>\> \<\< [empty space; followed by whatever signs?]

I have this code put in the "Sort by" field of my column  
$replace($replace(%ALBUM%,' ',1),'((,2)but it does not work

---

<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:** [February 4, 2018, 7:44pm UTC](https://community.mp3tag.de/t/slightly-adjusting-the-default-sort-order-on-the-account-of-one-sign/19766/2 "2018-02-04T19:44:40Z")

</div>

What happens, if you remove the brackets altogether for the sorting term?  
$replace(%title%,'(',,')',)

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [February 7, 2018, 8:24pm UTC](https://community.mp3tag.de/t/slightly-adjusting-the-default-sort-order-on-the-account-of-one-sign/19766/3 "2018-02-07T20:24:14Z")

</div>

Magic happens

Both \>\>(\<\< and \>\>)\<\< are removed from the view- and the titles are sorted as they should

However- you can no longer edit data in such columns. Plus I personally need to see those () [and others] and cannot afford in terms of space to have turned on two versions of the same column [one for viewing and one for editing] or relay for editing only on the Tag Panel

So it is a black magic

---

<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:** [February 7, 2018, 8:36pm UTC](https://community.mp3tag.de/t/slightly-adjusting-the-default-sort-order-on-the-account-of-one-sign/19766/4 "2018-02-07T20:36:16Z")

</div>

> [@Zerow](#):
>
> Magic happens
> 
> Both \>\>(\<\< and \>\>)\<\< are removed from the view- and the titles are sorted as they should
> 
> However- you can no longer edit data in such columns. Plus I personally need to see those () [and others] and cannot afford in terms of space to have turned on two versions of the same column [one for viewing and one for editing] or relay for editing only on the Tag Panel
> 
> So it is a black magic

You have to enter the sorting criteria in the column definition field "Sort by". The entries for "Field" and "Value" still only feature only the field name.

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [February 7, 2018, 9:24pm UTC](https://community.mp3tag.de/t/slightly-adjusting-the-default-sort-order-on-the-account-of-one-sign/19766/5 "2018-02-07T21:24:15Z")

</div>

> [@ohrenkino](#):
>
> You have to enter the sorting criteria in the column definition field "Sort by". The entries for "Field" and "Value" still only feature only the field name.

I think I need to go to sleep as the magic no longer works; so how it could had worked the first time- I simply saw what I wanted to see

So a code like this  
$replace(%ALBUM%,'(',,')',)only hides the () but the sorting stays the same; even if the fields of "Value" and "Field" are filled with just %ALBUM%

---

<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:** [February 8, 2018, 5:23am UTC](https://community.mp3tag.de/t/slightly-adjusting-the-default-sort-order-on-the-account-of-one-sign/19766/6 "2018-02-08T05:23:25Z")

</div>

> [@Zerow](#):
>
> I think I need to go to sleep as the magic no longer works; so how it could had worked the first time- I simply saw what I wanted to see
> 
> So a code like this
> 
> QUELLTEXT
> 
> $replace(%ALBUM%,'(',,')',)
> only hides the () but the sorting stays the same; even if the fields of "Value" and "Field" are filled with just %ALBUM%

I just tried it an if works for me.  
Of course it removes the () (what you don't see - if that is so, then you have done something wrong) as the () have a higher character code value than a space character, the entries with a space following an ordinary character are further up the list than the ones with ().  
If you remove the () then "no character" is higher up the list than the space character.

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [February 12, 2018, 8:43pm UTC](https://community.mp3tag.de/t/slightly-adjusting-the-default-sort-order-on-the-account-of-one-sign/19766/7 "2018-02-12T20:43:39Z")

</div>

> [@ohrenkino](#):
>
> I just tried it an if works for me.  
> [...]  
> you have done something wrong  
> [...]

You are right- I did something wrong

> [@Zerow](#):
>
> I think I need to go to sleep as the magic no longer works; so how it could had worked the first time- I simply saw what I wanted to see

And I was right- I was beginning to make back then the stupidest mistakes

Now everything works as it should. I testes this this code with existing examples plus I threw at it some made up possibilities and it holds

So thank you very much

---

<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:27pm UTC](https://community.mp3tag.de/t/slightly-adjusting-the-default-sort-order-on-the-account-of-one-sign/19766/8 "2026-02-09T12:27:13Z")

</div>


