fixed order of fields in database and how sex was displayed