I have a String array which contains file names like 

```
 1.Script_DBScript_03122014

```

I want to sort this array so i have written the following code:

```
Array.Sort(SQLScripts);

```

But the sorted array is produced like:

```
 1.Script_DBScript(otherdetails)_03122014
 10.Script_DBScript(otherdetails)_03122014
 11.Script_DBScript(otherdetails)_03122014
 12.Script_DBScript(otherdetails)_03122014
 ...
 2.Script_DBScript(otherdetails)_03122014
 20.Script_DBScript(otherdetails)_03122014
 21.Script_DBScript(otherdetails)_03122014
 22.Script_DBScript(otherdetails)_03122014
 ... so on

```

How can i get the array in following form

```
 1.Script_DBScript(otherdetails)_03122014
 2.Script_DBScript(otherdetails)_03122014
 3.Script_DBScript(otherdetails)_03122014
 4.Script_DBScript(otherdetails)_03122014
 5.Script_DBScript(otherdetails)_03122014
 ...
 50.Script_DBScript(otherdetails)_03122014

```

**EDIT :**
Code for retrieving filenames from the directory:

```
String[] SQLScripts = Directory.GetFiles(txtPath.Text, "*.sql");

```