Fix var type inference2

Giving it another try.
yes okay so it turns out I didn't actually want you to explain your choice, I wanted you to handle this the right way. Sorry for the confusion. context.cellSorts should be the authoritative source for all info about cell sorts. If a cell isn't in it, that's a bug.