In chemistry, Hill notation is a common and systematic way of writing and sorting molecular formulas (http://en.wikipedia.org/wiki/Hill_system). Does anyone know of a sorting algorithm or published "custom list" for Excel to sort chemicals by formula using the Hill system? I'm sure I could build my own custom list (which, if complete, would be very long) or VBA algorithm, but I'm hoping that someone else has already done it.
Bookmarks