None of them is wrong, the answer depends on the type of the object, which the notation doesn't specify:
Version 9.11 is greater than 9.9
Decimal 9.9 is greater than 9.11
Version 9.11 is greater than 9.9
Decimal 9.9 is greater than 9.11
Though that may just be because I program a lot more than I do arithmetic nowadays.