BUG: fix multi-column sort that includes Categoricals (GH7848)

CLN: refactor _lexsort_indexer to use Categoricals

closes #7848 
this was your original routine. its internal. I think its ok