LANG=C sort addresses sort's UTF-8 conversion except if LC_ALL is set. Use LC_ALL=C sort instead.
I believe this is the last issue in the base system reported by Debian's reproducible builds CI
https://tests.reproducible-builds.org/freebsd/dbd/repo/FreeBSD:12:amd64/current/FreeBSD-vi-current.txz.html