Fix query that orders by anniversary/birthday.

The query needs to convert the string values to UNIX timestamp
so the order will be correct. Without doing so, the order results
seem erractic because the values would be compared as strings.