TYP: get_reverse_indexer, get_group_index_sorter
nailing down all the "np.intp"s bit by little bit.

AFAICT we're not going to be able to annotate ndarrays with ndim/dtype any time soon.  Might be worth looking into https://pypi.org/project/nptyping/