Sort perldiag

Also change a comma to a semicolon, two independent clauses were
joined with a comma.