An inlet stratification (5) is adapted to be arranged vertically in a tank (1) during operation. The stratification device (5) comprises an inlet pipe (6) formed of a flexible porous material and having a lower and upper end. The lower end of the inlet pipe (6) is connected to a bottom cap (10) with an inlet passage way (16). The upper end of the inlet pipe (6) is connected with a top cap (9). The top cap (9) and the bottom cap (10) are mutually connected by means of a wire (8) and the top cap (9) is configured as a floating device providing a buoyancy force larger than the downwardly directed force due to the wire (8), the inlet pipe (6) and any deposited on the above pass during operation.