There are many factors in play here. Not only whether white washing is pure cotton or linen, but also whether water is soft or hard where you live.
The harder your water the sooner washing will turn greyish, unless you regularly use limescale remover both when washing clothes, for steeping the really grey one in and for removing the limescale that has coated the washing-machine.
It is also a fallacy to think that you will get white cotton and linen looking white if you wash it on a cycle under at least 60 degrees , 90 is even better.
I shall now duck while you all shout about the environment.
Clothes d ried outside tend to remain white longer than those dried in a dryer.
As I don't live in the UK, I cannot suggest brand names for laundry soap or limescale removers as ours are different to yours.
I find however that steeping washing in a fairly strong solution of warm water and limescale remover overnight in a good old fashioned tub before washing it in the machine does make a difference.