Yes, a sediment filter should go before the pressure tank so that it can act as a first line of defense preventing dirt from entering and settling at the bottom of the tank, meddling with its performance in the long run.