vue js sort code example Example: sortby vue computed: { orderedUsers: function () { return _.orderBy(this.users, 'name') } }