Role of Wettability on the Adsorption of an Anionic Surfactant on Sandstone Cores.