SERVER-9063 Correctly sort on text metadata for sharded queries