Other reasons to why Sans could be a worthy contender:
Sans's base stats are seemingly very weak, pair that with his lazy attitude and appearance, and with AstroMan's high opinion of himself, and thus AstroMan wouldn't expect Sans to beat the shit out of him, and that's exactly why he would.
Like I was saying in the title (couldn't fit it all), the sins the opponent has committed boost Sans' strength, and AstroMan has mercilessly murdered probably hundreds of people, which would make Sans' powers multitudes more effective than it is in Undertale.
This one is kind of stupid, but I also just want to see AstroMan get his ass kicked by someone who he thinks will be a pushover (again)