From 2a5618ac5f5748979d0850783323ba3bdc7e4f97 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 19 Apr 2012 20:39:28 +0200 Subject: [PATCH] sort readme list by date --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e069dc84..5b762bb4 100644 --- a/index.js +++ b/index.js @@ -484,7 +484,7 @@ Ox.load(function() { orientation: 'horizontal' }, self) .addClass('readme'); - app.data.readme.forEach(function(item, i) { + Ox.sortBy(app.data.readme, '-date').forEach(function(item, i) { var $item = $('