Tested when some or all fields are undefined, undefined goes first