- Extract field comparison logic into fieldComparator struct - Reduce complexity from 39 to 11 - Improve code organization and testability - All tests passing Amp-Thread-ID: https://ampcode.com/threads/T-4d8cdee6-84e8-4348-ad30-9e59fb3e30cf Co-authored-by: Amp <amp@ampcode.com>