Fix logs sorting
Massive rewrite to use CheckManager