Given that Ramesh is taller than two of his friends, this means two people are shorter than him.
It is also given that neither Hareesh nor Ganesh are the shortest.
This leaves only Rajesh as the shortest among the four.