diff --git a/src/PrevNextService.php b/src/PrevNextService.php index 7a1f08e053b291b4af839d6411388f27337a3ff9..a86073d4c1c67ab4839c46ba7116c15ec1343d29 100644 --- a/src/PrevNextService.php +++ b/src/PrevNextService.php @@ -70,6 +70,7 @@ class PrevNextService implements PrevNextServiceInterface { ->addMetaData('type', $bundle) ->addMetaData('langcode', $langcode) ->addTag('prev_next_nodes_type') + ->sort('nid', 'DESC') ->execute(); return array_values($nodes);