I always screw the filter into the base of the eyepiece and then put that combined unit into the barlow.
Although I don't think it matters?
I take it your barlow has a thread for screwing a filter on? If not, it's a moot point
As Rob says, give both a go