BUG: GH2817, raise the correct KeyError that the multi-index is not sorted
Merge pull request #3124 from jreback/GH2817

BUG: GH2817 raise the correct KeyError that the multi-index is not sorted