- write facts sorted