Changed fieldsCmp back to using arrays on d_m's request.