diff --git a/PROMS/Volian.Controls.Library/DisplayRO.cs b/PROMS/Volian.Controls.Library/DisplayRO.cs index a0591acf..cf1520a4 100644 --- a/PROMS/Volian.Controls.Library/DisplayRO.cs +++ b/PROMS/Volian.Controls.Library/DisplayRO.cs @@ -435,7 +435,8 @@ namespace Volian.Controls.Library double dbl2; //B2017-232 changed from Parse to TryParse. AEP had figure title that had a number containing two periods which caused Parse to error if (double.TryParse(match1.ToString(), out dbl1) && double.TryParse(match2.ToString(), out dbl2)) - return dbl1 > dbl2; + if (dbl1 != dbl2) //B2021-144 if the numerical is identical default to the string comparision + return dbl1 > dbl2; } return String.Compare(value1, value2, true) > 0; }