Amazon Interview Question

We are given: Logs from multiple computers Each log has format: Plain text [timestamp, log_message] Goal: πŸ‘‰ Merge all logs and print them in sorted order of timestamp