{
	"case": "Events order by timestamp, then device, then sequence: the last status wins, and at the same time the device that sorts last",
	"book": [
		{
			"timestamp": 1000,
			"offset": 0,
			"device": "mac-aaaa",
			"sequence": 1,
			"type": "book.imported",
			"data": {
				"id": "01ja0000000000000000000000"
			}
		},
		{
			"timestamp": 1001,
			"offset": 0,
			"device": "mac-aaaa",
			"sequence": 2,
			"type": "edition.added",
			"data": {
				"id": "01ja0000000000000000000001",
				"file": "Ebook/Dune - Frank Herbert.epub",
				"hash": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
			}
		},
		{
			"timestamp": 2000,
			"offset": 0,
			"device": "mac-aaaa",
			"sequence": 3,
			"type": "status.updated",
			"data": {
				"status": "reading"
			}
		},
		{
			"timestamp": 1500,
			"offset": 0,
			"device": "kobo-bbbb",
			"sequence": 1,
			"type": "log.started",
			"data": {
				"book": "01ja0000000000000000000000"
			}
		},
		{
			"timestamp": 2000,
			"offset": 0,
			"device": "kobo-bbbb",
			"sequence": 2,
			"type": "status.updated",
			"data": {
				"status": "paused"
			}
		},
		{
			"timestamp": 3000,
			"offset": 0,
			"device": "kobo-bbbb",
			"sequence": 3,
			"type": "status.updated",
			"data": {
				"status": "read"
			}
		},
		{
			"timestamp": 3000,
			"offset": 0,
			"device": "kobo-bbbb",
			"sequence": 4,
			"type": "status.updated",
			"data": {
				"status": "stopped"
			}
		}
	],
	"expect": {
		"status": "stopped"
	}
}
