Skip to content

Commit

Permalink
* sort db on save
Browse files Browse the repository at this point in the history
  • Loading branch information
JayGray committed Jul 29, 2014
1 parent 90f80d5 commit 59649cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/js/components/lib_db.js
Expand Up @@ -16,6 +16,7 @@
}

Db.prototype.save = function (db) {
db.query.sort('artist asec, album asec, year asec, track asec, title asec');
var serializedDb = JSON.stringify(db),
dbName = this.getDbName();

Expand Down

0 comments on commit 59649cb

Please sign in to comment.