I'd say that if you're going for a synthy sound it'd be better to put the distortion before the filter because that adds more frequencies to the signal which you then filter out to get those sounds.
but, you should still try it out both ways and others in your setup if you're unsure.