amaatouq/netwise

Retrieving alters in sorted order

Closed this issue · 2 comments

In our current implementation of game.players.find(p => p._id === alterId) how would we sort the displayed list in terms of cumulativeScore for example?

Until we get better Network functions, maybe: _.sortBy(players, p => p.get("score"))

Makes sense to use this pure javascript approach until we add the Network functions.