var CustomStatus = new[] { "PAG", "ASG", "WIP", "COMP", "SEN" };
List<CDSHelper> HelperList = new List<CDSHelper>();
// Getting the values from API to fill the object and
// finally doing the custom order by
var result = HelperList.OrderBy(a => Array.IndexOf(CustomStatus, a.status));
カスタム オーダーを使用して HelperList オブジェクトを並べ替えています。合計で約 18 のステータスがあります。18 のステータスのうち、CustomStatus に基づいてリストを並べ替えたいのですが、残りの順序は CustomStatus ステータスの後にリストに追加する必要があります。上記のコードを使用するHelperList の最後で CustomStatus を取得できます。これを達成する方法は?