Order deadlock log by thread name

Signed-off-by: Ross Allan <rallanpcl@gmail.com>