i need your help again, i don't know how to proceed

I have a file and it looks like this:

```
file.txt:

005-test1
039-test1
008-test1
009-ttest1
003-test1 97F199F
015-test1 C7264DF9
007-test1 5AD753A0
059-test1 CF4BFD2F

```

I would like to have the file sorted by number in ascending order so that it looks like this here

```
003-test1 97F199F
005-test1
007-test1 5AD753A0
008-test1
009-ttest1
015-test1 C7264DF9
039-test1
059-test1 CF4BFD2F

```

Unfortunately, I have no idea how to do it