aboutsummaryrefslogtreecommitdiff
path: root/app/Models
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models')
-rw-r--r--app/Models/Category.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Models/Category.php b/app/Models/Category.php
index cee137138..499f95d97 100644
--- a/app/Models/Category.php
+++ b/app/Models/Category.php
@@ -62,6 +62,10 @@ class FreshRSS_Category extends Minz_Model {
}
}
+ usort($this->feeds, function ($a, $b) {
+ return strnatcasecmp($a->name(), $b->name());
+ });
+
return $this->feeds;
}