If u want to sort a finalarray,copy ur Firstarray and Secondarray into finalarray and then simple ur
finalarray.sort method.
if u are creating comma separated string then add comma at the end
public string Convert_to_String()
{
string s = "";
for (int i = 0; i< Firstarray.Length; i++)
{
s += Firstarray[i].ToString()+ ",";
}
return s;
}