Fixed typing in fields, but on Linux msort() is still broken