Sort order differs between Dewey and LC classification systems. The following is the correct way to sort in both systems.
i = integer/whole number sorting (e.g. 9, 35, 112)
d = alphabetical/decimal sorting (e.g. 112, 35, 9)
Library of Congress: BH 301.53 .M54 M44 1985 dd iii dd ddd ddd iiii Dewey: 231.72 S6753k, 1986 iii dd dddddd iiii