B2021-144 ROs were not always sorted on the Insert RO panel in the procedure editor.
This commit is contained in:
parent
42ae2bf2e8
commit
37e022a64d
@ -435,7 +435,8 @@ namespace Volian.Controls.Library
|
|||||||
double dbl2;
|
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
|
//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))
|
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;
|
return String.Compare(value1, value2, true) > 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user