I was fighting in Nether Fortress and I held Sharpness sword instead of Smite sword. But I killed
Wither Skelly and normall Skelly with Sharpness 5 with only 2 hits instead of 3. I tried it in other worlds and the same thing happened, so Sharpness works even with Skelly Horse and Stray. Sharpness shouldn't work with undead mobs. It doesn't affect Zombies (including their variants),Phantoms and Withers.
That's it. And yes, I don't have the strength effect.
Sharpness is supposed to affect all mobs equally. A Sharpness V diamond sword can deal up to 12 damage every hit (assuming you time it perfectly and land a critical hit)*. Wither skeletons and regular skeletons have 20 health. Thus, two hits should be enough.
See also https://minecraft.gamepedia.com/Sharpness.
*) 7 damage from diamond sword, 2 from the critical hit, and 3 from the sharpness enchant.