Since the sort index is just a convenience field it is more appropriate to only set it where it is required, instead of requiring all frontends and passes to retain sensible values for it.