For example, I would like to sort by game_date, and then if the date is the same, sort it by team? What would be the best way to do this?
@teams = @user.tea
@teams = @user.teams @games = @teams.games.order(game_date: :asc, team: :asc)