diff --git a/src/BizHawk.Client.EmuHawk/CustomControls/InputRoll/Cell.cs b/src/BizHawk.Client.EmuHawk/CustomControls/InputRoll/Cell.cs index 268f1bf4e47..e12f8167a8f 100644 --- a/src/BizHawk.Client.EmuHawk/CustomControls/InputRoll/Cell.cs +++ b/src/BizHawk.Client.EmuHawk/CustomControls/InputRoll/Cell.cs @@ -71,7 +71,7 @@ int IComparer.Compare(Cell c1, Cell c2) { int row = c1.RowIndex.Value.CompareTo(c2.RowIndex.Value); return row == 0 - ? c1.Column.Name.CompareTo(c2.Column.Name) + ? string.Compare(c1.Column?.Name, c2.Column?.Name) : row; }