Looks like SDK version names are being sorted lexicographically (i.e. using a default sort algorithm that always compares solely character-by-character), without applying a natural sort algorithm which would attempt to put numeric sub-sequences (such as version numbers) in the right order.
As markw65 pointed out, this bug also seems to extend to the detection of the latest SDK version, which is reported as 4.0.9 instead of 4.0.10.
I would paste the following image directly into this bug report, but the forum won't let me.