gpg: Systematically detect and fix signatures that are out of order.