Honestly, I have never looked that closely at time and sales and did not know that it tagged each trade as bid or ask. I did know it was color coded to show up and down ticks. I will assume this is a function of the logic of the software as data comes from the exchange in raw format. We then normalize the data by adding headers and manipulate it for our needs in our market data server.