complete threading algorithm (sort siblings by date)

Not tested yet, but it „seems“ to work.
update documentation