Hi Kun, This is a JS that I wrote sometime back to normalize LC call numbers. https://gist.github.com/dhanushka-samarakoon/1f0e080cbca48b4a53a7b988a9b020d2 Even though it does not directly address comparison, you can normalize and then compare. -Dhanushka. On Thu, Dec 5, 2019 at 5:13 PM Kun Lin <[log in to unmask]> wrote: > Is there any good existing scripts of comparing LC call numbers to > determine which one should come first? Javascript or PHP. > > > > > > Thanks a lot > > ---- > > Kun Lin > > Systems and Application Librarian > > Whitman College > > > > PGP Public Key https://kj7ieg.com/dnwklin_public.txt >