You're doing a string comparison. String comparisons are done in 'word sort order', which is a culture dependent thing and hyphens are ignored. See
MSDN[
^].
You probably wanted a numeric or DateTime comparison. String comparisons are not generally a good idea.