semantic: Immutable overrides const in storage chains.
semantic: Make storage sort function more sane.

Well, less insane at any rate.