Like so many moments in Dnd the effectiveness comes down to your dm.
-RAI sentinel seems to mean you get an attack before the attack roll on an adjacent friendly, RAW the attack is after.
-If your dm rules your sentinel attack is to "protect" friendlies and goes before enemy attack roll...