fix other.test_dangerous_func_cast
sort function signatures in ASSERTIONS=2 abort message dumps, attempting to show most likely related ones first