only in patch2: unchanged: --- a/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php +++ b/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php @@ -565,6 +565,11 @@ public function testDotted() { ->condition('array.level1.level2', 3) ->execute(); $this->assertResults(['5']); + // Test dotted sorting. + $this->queryResults = $this->factory->get('config_query_test') + ->sort('array.level1.level2', 'DESC') + ->execute(); + $this->assertResults(['5', '2', '4', '1', '3']); // Make sure that values on the wildcard level do not match if there are // sub-keys defined. This must not find anything even if entity 2 has a // top-level key number with value 41.