SERVER-8871 derive plan cache key from query, sort and projection