You are so hung up on a couple losses and I will show you how ridiculous that is.
So Anderson had a 32-4 record and GSP has a 26-2 record. Those are somewhat similar records. GSP would have to win 6 out of his next 8 to match that. You probably think he would go 7-1 or 8-0, and even if he did, that would still be very similar ball park to Anderson's record at around 36 fights. It's especially stupid when you bring up Anderson's losses past age 38 (and 40 fight career) when GSP never fought at that age.
Sure, he also lost to Azeredo, Takase and Chonan just like GSP lost to Serra and Hughes. Everybody loses. That's how you learn. They both improved and went on their greatest runs after that. Anderson switched teams, earned his BJJ black belt from the Nog bros, and broke a bunch of UFC records. He actually has more title defenses and more title fight finishes than GSP. When you look at their primes and title reigns, Anderson is superior. It doesn't matter to me that Anderson had a few losses early in his career, those losses made him better and he went on to have a better title reign than GSP or any other UFC champion.