Given an array of daily transaction logs, write a function to identify duplicate orders placed within a one-minute window.
Each log is a dictionary with an order_id string and a nonnegative timestamp integer in seconds. Return the unique order IDs from the earlier log in each qualifying pair, ordered by timestamp. A pair qualifies when the later timestamp is at most 60 seconds after the earlier timestamp. Logs may be unsorted.
def detect_duplicate_orders(logs):