PA-28 Cherokee/Archer/Dakota/Pillan/Warrior
Flight Crew Student
Flight Crew Last 90 Days 10; Flight Crew Total 60; Flight Crew Type 45
Confusion
Conflict NMAC
Flight Crew Took Evasive Action
Human Factors; Aircraft
We were flying midfield downwind for Runway XXR when we noticed an airplane close behind via ADS-B. The Tower also noticed the aircraft behind us and indicated to the pilot of that aircraft that he was doing 115 kts ground speed and overtaking us. The other pilot did not react to ATC's instructions and got closer to us. As we were about to turn base; the other pilot apparently did not see us and got closer at this point. The Tower told us to continue downwind after we started turning our base. The other pilot turned base slightly above and behind us and continued to perform a normal landing. We performed a normal landing thereafter.
Student pilot reported an NMAC when another aircraft overtook them on final and landed in front of them.