To be fair, she does have history with Sasuke as a companion/friend and at one point back in P1 he did seem to cherish her alongside Naruto as his "new family". Her original reasoning for "loving" Sasuke did have respectable legitimacy to itself because of her desire to be acknowledged by someone which is more than I can say for most of Sasuke's in-world fanbase. It doesn't negate everything that has happened afterward but Sakura's willingness to cling to Sasuke as someone important in her life is more understandable than something like what we saw with Ino and her recent thoughts.
This is the real problem on Sakura's confession she pointed out what Naruto did to her and basically it was him who give her the most of her development and was at her side, so she did thought about her feelings for Sasuke and Naruto, and still didnt had a valid reason on the ending.
When she as on the team 7 she said what makes her happy the most and it was the team 7 not Sasuke alone, she then claimed she would be lonely and whatever and still turned out to be a lie.
If you're speaking in evolutionary terms then I suppose the individual who is the most physically attractive and efficient would be practical but for this story such traits should not be the only things to consider.
This is the problem if Sasuke give her development or added something to her character or even give her a pep talk i would at least consider that she does have a reason to love him because at least shows that he supported her but it wasnt the case he never supported her.
Sasuke is a horrible person when it comes to personality and relationships. He's a vindictive recluse who was almost always fixated on revenge except for a few instances like when he was a child and during his time with Team 7. Granted for some time in P2 he did seem to be forming a bond of sorts with Hebi/Taka but we've seen how unpredictable Sasuke is with how he's willing to abandon or even kill those he finds to be a burden. He's not exactly a trustworthy or sociable person to be around.
Sasuke is a horrible person even if he gets redeemed.