The operations team needs a list of all orders, sorted with higher user_id values first and guest orders without a user_id last. If several orders have the same user_id, sort them by id in ascending order. Return id and user_id.
Row order matters
Expected output columns:iduser_id
Showing the first 3 rows of the sample — the full sample comes with Premium