From logins (user_id, login_date, one row per user per day they logged in), find each user's longest gap — the maximum number of days between two of their consecutive logins.
For example, logins on the 3rd and 5th are a gap of 2. Every user appears; a user with a single login has no gap, so their longest_gap_days is NULL.
Sort by user_id.