# Beets import from disc - wrong track number

**URL:** <https://discourse.beets.io/t/beets-import-from-disc-wrong-track-number/2619>\
**Category:** Help\
**Created:** [August 19, 2024, 6:28pm UTC](https://discourse.beets.io/t/beets-import-from-disc-wrong-track-number/2619 "2024-08-19T18:28:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tobi1](https://avatars.discourse-cdn.com/v4/letter/t/9f8e36/32.png) [@Tobi1](https://discourse.beets.io/u/Tobi1)\
**Post date:** [August 19, 2024, 6:28pm UTC](https://discourse.beets.io/t/beets-import-from-disc-wrong-track-number/2619/1 "2024-08-19T18:28:33Z")

</div>

Hi everyone,

I wanted to use beets to import tracks from the disc to my hard drive. Unfortunately, the tracks found on the disc are not sorted in the right order, as you can see in the screenshot:  
 ![Screenshot from 2024-08-19 20-25-45](https://canada1.discourse-cdn.com/flex029/uploads/beets/original/1X/6fcc331858e114771425aa0de4e5998acb22dcce.png)

Is there a way to assign some kind of pattern to match the filename on the disc with the track number of the album ?

---

<div class="post-metadata">

**Author:** ![jojo](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/jojo/32/709_2.png) [@jojo](https://discourse.beets.io/u/jojo)\
**Post date:** [August 23, 2024, 5:34am UTC](https://discourse.beets.io/t/beets-import-from-disc-wrong-track-number/2619/2 "2024-08-23T05:34:35Z")

</div>

please, better open in github discussions
