diff --git a/Literature/views/productions.tt b/Literature/views/productions.tt
index 17b88f0..69968d3 100644
--- a/Literature/views/productions.tt
+++ b/Literature/views/productions.tt
@@ -1,7 +1,7 @@
[% # Provide a title -%]
[% META title = 'List of Productions' -%]
-[% FOREACH p IN productions.all.sort('title')-%]
+[% FOREACH p IN productions.all.sort('year', 'title')-%]
- [% p.title %]
([% p.made_by %] - [% p.year %])
[% END -%]
diff --git a/Literature/views/work.tt b/Literature/views/work.tt
index 23cb355..bfdefde 100644
--- a/Literature/views/work.tt
+++ b/Literature/views/work.tt
@@ -15,8 +15,8 @@
Productions
[% IF work.productions.size %]
[% ELSE %]
diff --git a/db/literature.dat b/db/literature.dat
index 34e2dc0..3f314ef 100644
--- a/db/literature.dat
+++ b/db/literature.dat
@@ -80,7 +80,7 @@ UNLOCK TABLES;
LOCK TABLES `production` WRITE;
/*!40000 ALTER TABLE `production` DISABLE KEYS */;
-INSERT INTO `production` VALUES (1,'Pride and Prejudice',22,1995,'BBC'),(2,'Pride and Prejudice',22,2005,'StudioCanal/Working Title');
+INSERT INTO `production` VALUES (1,NULL,22,1995,'BBC'),(2,NULL,22,2005,'StudioCanal/Working Title'),(3,NULL,22,1938,NULL),(4,NULL,22,1940,NULL),(5,NULL,22,1952,NULL),(6,'Orgoglio e pregiudizio',22,1957,NULL),(7,NULL,22,1958,NULL),(8,'De vier dochters Bennet',22,1961,NULL),(9,NULL,22,1967,NULL),(10,NULL,22,1980,NULL),(11,'Bride and Prejudice',22,2004,NULL);
/*!40000 ALTER TABLE `production` ENABLE KEYS */;
UNLOCK TABLES;
@@ -121,4 +121,4 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--- Dump completed on 2015-10-01 21:43:23
+-- Dump completed on 2015-10-02 13:24:51
diff --git a/db/literature.sql b/db/literature.sql
index c600584..904c389 100644
--- a/db/literature.sql
+++ b/db/literature.sql
@@ -135,7 +135,7 @@ CREATE TABLE `production` (
PRIMARY KEY (`id`),
KEY `work` (`work`),
CONSTRAINT `production_ibfk_1` FOREIGN KEY (`work`) REFERENCES `work` (`id`)
-) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
+) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
@@ -197,4 +197,4 @@ CREATE TABLE `work_product` (
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
--- Dump completed on 2015-10-01 21:43:34
+-- Dump completed on 2015-10-02 13:24:51
diff --git a/util/build_db b/util/build_db
new file mode 100755
index 0000000..152d8a4
--- /dev/null
+++ b/util/build_db
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Make sure we're in the expected place
+SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
+cd $SCRIPTPATH
+cd ..
+
+mysql -u$LIT_USER -p$LIT_PASS -Dliterature < db/literature.sql
+mysql -u$LIT_USER -p$LIT_PASS -Dliterature < db/literature.dat
diff --git a/util/dump_db b/util/dump_db
new file mode 100755
index 0000000..594fe8d
--- /dev/null
+++ b/util/dump_db
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Make sure we're in the expected place
+SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
+cd $SCRIPTPATH
+cd ..
+
+mysqldump -u$LIT_USER --no-data -p$LIT_PASS literature > db/literature.sql
+mysqldump -u$LIT_USER --no-create-info -p$LIT_PASS literature > db/literature.dat