I don't answer exactly to your question because my views are not authoritative at all, but
from what's in the code and from that it make sens that sorting on an inexistant column should yield a null-sorting, I believe
the probability that your hack will still be right is quite comfortable.
My2c.