50d was my first digital camera.
For all the features in the t4 and t5 I would go for the newer sensor of these cameras.
Age matters with digital, the newer the sensor technology the better.
It would be my suggestion if buying a crop sensor camera you buy the newest version you can.