I am trying to get a list of all files in a folder from C#. Easy enough:

```
Directory.GetFiles(folder)

```

But I need the result sorted alphabetically-reversed, as they are all numbers and **I need to know the highest number in the directory**. Of course I could grab them into an array/list object and then do a sort, but I was wondering if there is some filter/parameter instead?

They are all named with leading zeros. Like:

```
00000000001.log
00000000002.log
00000000003.log
00000000004.log
..
00000463245.log
00000853221.log
00024323767.log

```

Whats the easiest way? I dont need to get the other files, just the "biggest/latest" number.