diff --git a/bl-plugins/tags/languages/en_US.json b/bl-plugins/tags/languages/en_US.json
index d6a98ca0..f9bedee0 100644
--- a/bl-plugins/tags/languages/en_US.json
+++ b/bl-plugins/tags/languages/en_US.json
@@ -3,5 +3,9 @@
{
"name": "Tags list",
"description": "Shows all tags."
- }
-}
\ No newline at end of file
+ },
+ "tag-sort-order": "Sort the tag list by",
+ "tag-sort-alphabetical": "Alphabetical order",
+ "tag-sort-count": "Number of times each tag has been used",
+ "tag-sort-date": "Date each tag was first used"
+}
diff --git a/bl-plugins/tags/plugin.php b/bl-plugins/tags/plugin.php
index f4742cb6..892707bc 100644
--- a/bl-plugins/tags/plugin.php
+++ b/bl-plugins/tags/plugin.php
@@ -5,7 +5,8 @@ class pluginTags extends Plugin {
public function init()
{
$this->dbFields = array(
- 'label'=>'Tags'
+ 'label'=>'Tags',
+ 'sort'=>'date'
);
}
@@ -18,6 +19,19 @@ class pluginTags extends Plugin {
$html .= '';
$html .= '';
+ $html .= '