# Reorder contents of a field?

**URL:** <https://community.mp3tag.de/t/reorder-contents-of-a-field/63234>\
**Category:** Support\
**Created:** [December 28, 2023, 4:07pm UTC](https://community.mp3tag.de/t/reorder-contents-of-a-field/63234 "2023-12-28T16:07:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stev\_Jackson](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@Stev\_Jackson](https://community.mp3tag.de/u/Stev_Jackson)\
**Post date:** [December 28, 2023, 4:07pm UTC](https://community.mp3tag.de/t/reorder-contents-of-a-field/63234/1 "2023-12-28T16:07:50Z")

</div>

Hi,

I have a recorder that saves files as "Station-12152024-time". It is easy to translate the filename into the tag using MP3tag. I don't need the time so I delete that one.

My question is, is there an action that will let me rearrange the date that is saved from 12152023 to 20231215?

If I could do this it will be much easier to sort my files in chronological order.

Thank you.

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [December 28, 2023, 4:21pm UTC](https://community.mp3tag.de/t/reorder-contents-of-a-field/63234/2 "2023-12-28T16:21:33Z")

</div>

> [@Stev\_Jackson](#):
>
> Station-12152024-time

If the date is really always saved as MMDDYYYY in one of your tags you can use the Convert Tag -\> Tag and as Format string:  
`$right(%DATE%,4)$left(%DATE%,4)`  
This would rearrange 4 characters from right and 4 characters from left and build this as new content of the given Field name (DATE in this example):

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

---

<div class="post-metadata">

**Author:** ![Stev\_Jackson](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@Stev\_Jackson](https://community.mp3tag.de/u/Stev_Jackson)\
**Post date:** [December 30, 2023, 12:23am UTC](https://community.mp3tag.de/t/reorder-contents-of-a-field/63234/3 "2023-12-30T00:23:16Z")

</div>

> [@LyricsLover](#):
>
> $right(%DATE%,4)$left(%DATE%,4)

Hi, it works perfectly - Thank you.

---

<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:** [January 29, 2024, 12:24am UTC](https://community.mp3tag.de/t/reorder-contents-of-a-field/63234/4 "2024-01-29T00:24:17Z")

</div>

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