Merge Student Record Updates
Merge two lists of student dictionaries by their string id. Process earlier before newer; later fields override only fields supplied, including explicit None values. Retain other fields, merge repeated ids within either list, and return records sorted by id. Every record has an id.
Difficulty: intermediate
Examples
[[{"id":"s2","name":"Sita","grade":"B"}],[{"id":"s2","grade":"A"},{"id":"s1","name":"Ram"}]][{"id":"s1","name":"Ram"},{"id":"s2","name":"Sita","grade":"A"}]