I guess I should just use `user.getAllBadges` here, which is where I borrowed the sorting from.