Fixed `com.sun.beans.introspect.MethodInfo#MethodOrder` to make `Introspector.addMethod()` working properly when filtering methods out.
Also fixed the test, and added the approptiate test case. ------------- Commit messages: - fix Changes: https://git.openjdk.org/jdk/pull/23443/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23443&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8347826 Stats: 118 lines in 2 files changed: 64 ins; 6 del; 48 mod Patch: https://git.openjdk.org/jdk/pull/23443.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/23443/head:pull/23443 PR: https://git.openjdk.org/jdk/pull/23443