You know whats a better optimized version 5 gloomstalker / 4 Assassin or Thief (depends if you want to ambush crit every first round or with consistent bonus action every other turn)/ then battlemaster/champion (depends if u want maneuvers or improve crit that can stack)
You still get 2 feats but with 5 gloomstalker you get lvl 2 spells and a misty step. Also the reason 4 rogue over 3 fighter is your sneak attack gets a small boost in dmg 1~2.