Sorry but your point is null Oreo. First off, we are talking about which senses are developed first. Even in a child, that is touch. They first touch a person before they see, hear or taste. Even Humans develop touch first.
A babies eyes are the last thing to actually develop and be used. They hear then taste then see. They feel first because, well the doctors slaps them on the butt to make sure they are breathing. They feel that long before they open their eyes for the first time.
Now if a full grown adult, already beyond the point of that earliest stage of evolution, of course would choose a different sense when put into a situation where they were in some foreign land to survive. But that is beyond the scope of this talk. We are talking about the FIRST sense developed. Not the first sense you would use given certain criteria.
So given that touch would be the first sense. Even though the bacteria may not move far, they still have to feel the area where they are located. Be it your keyboard, underwater or whatever. Touch would still be the first sense developed.
Your talking from a totally different aspect than what the original poster asked and what we are discussing here. You are talking as if you were taken and thrown on Mars as you sit right now. The OP asked:
Which came first evolutionarily
This is well before what you are talking about. The very first thing developed would be touch because at that time, eyes, ears, gills, throats and mouths were not developed. They were still a long time away. The first organisms on the planet were single celled simple organisms and did not have such items.
You are right, if i was thrown on Mars or some other foreign land i would not choose touch. But that is not what has been asked.