There are some normalization transforms which allow you to ASCII sort call numbers. A quick search gives me:
The Alma system (from Ex Libris) has a normalization algorithm for their analytics, described at https://knowledge.exlibrisgroup.com/Alma/Community_Knowledge/Understanding_Normalized_Call_Numbers_in_Analytics.
A program lccnorm, https://metacpan.org/pod/distribution/Biblio-LCC/script/lccnorm.
A ruby gem, lcsort: https://github.com/pulibrary/lcsort
I also see modules for Perl, Python, and others.
[log in to unmask]
From: Code for Libraries <[log in to unmask]> On Behalf Of Kun Lin
Sent: Thursday, December 5, 2019 7:13 PM
To: [log in to unmask]
Subject: [CODE4LIB] compare LC call number
Thanks a lot
Systems and Application Librarian
PGP Public Key https://kj7ieg.com/dnwklin_public.txt