Code (perl now, others to follow) to normalize Library of Congress call numbers and/or create ranges of normalized call numbers.
See the wiki for an explanation of the algorithm, and the perl code in the svn repository for one implementation of the same.