Index calc is more intuitive after the sort.