diff --git a/rpg-docs/client/views/characterList/characterList.js b/rpg-docs/client/views/characterList/characterList.js index e35a5571..5bdee54b 100644 --- a/rpg-docs/client/views/characterList/characterList.js +++ b/rpg-docs/client/views/characterList/characterList.js @@ -7,7 +7,10 @@ Template.characterList.helpers({ ); }, parties() { - return Parties.find({owner: Meteor.userId()}); + return Parties.find( + {owner: Meteor.userId()}, + {sort: {name: 1}}, + ); }, charactersInParty(partyId) { var userId = Meteor.userId(); diff --git a/rpg-docs/client/views/characterList/characterSideList.js b/rpg-docs/client/views/characterList/characterSideList.js index 18e4e800..d27d0941 100644 --- a/rpg-docs/client/views/characterList/characterSideList.js +++ b/rpg-docs/client/views/characterList/characterSideList.js @@ -5,8 +5,10 @@ Template.characterSideList.onCreated(function() { Template.characterSideList.helpers({ parties() { - var userId = Meteor.userId(); - return Parties.find({owner: userId}); + return Parties.find( + {owner: Meteor.userId()}, + {sort: {name: 1}}, + ); }, charactersInParty() { var userId = Meteor.userId();