pub fn list_all_jobs(conn: &Connection) -> Result<Vec<(String, String, String)>>
List all jobs ordered by status then priority then creation time. Returns tuples of (id, status, data_json).