sheet.Sort.SortFields.Clear();
Excel.Range myRange = worksheet.Range["A1:A38"];
Excel.SortField sortField = sheet.Sort.SortFields.Add(myRange, Excel.XlSortOn.xlSortOnCellColor, Excel.XlSortOrder.xlAscending, Type.Missing, Excel.XlSortDataOption.xlSortNormal);
sortField.SortOnValue.Color = target.Interior.Color;
sheet.Sort.SetRange(sortRange);
sheet.Sort.Header = Microsoft.Office.Interop.Excel.XlYesNoGuess.xlGuess;
sheet.Sort.MatchCase = false;
sheet.Sort.Orientation = Microsoft.Office.Interop.Excel.XlSortOrientation.xlSortColumns;
sheet.Sort.SortMethod = Microsoft.Office.Interop.Excel.XlSortMethod.xlPinYin;
sheet.Sort.Apply();