diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js index 7f8136b0a..032d81a37 100644 --- a/client/components/boards/boardsList.js +++ b/client/components/boards/boardsList.js @@ -197,7 +197,7 @@ BlazeComponent.extendComponent({ }, boardLists(boardId) { let boardLists = []; - const lists = Lists.find({ 'boardId': boardId, 'archived': false }) + const lists = Lists.find({ 'boardId': boardId, 'archived': false },{sort: ['sort','asc']}); lists.forEach(list => { let cardCount = Cards.find({ 'boardId': boardId, 'listId': list._id }).count() boardLists.push(`${list.title}: ${cardCount}`);