paulk-asert commented on code in PR #52:
URL: https://github.com/apache/groovy-website/pull/52#discussion_r1741565393


##########
generator/src/main/groovy/generator/SiteGenerator.groovy:
##########
@@ -287,7 +287,7 @@ class SiteGenerator {
 
     @CompileDynamic
     private void renderBlogFeed(Map<String, Document> blogList, String 
baseDir) {
-        def sorted = blogList.sort { e -> e.value.revisionInfo.date }
+        def sorted = blogList.sort { e -> e.value.revisionInfo.date.reverse() }

Review Comment:
   reverse() isn't currently available for Map's.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@groovy.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to