The pump needs to be at the base of the cylinder to detect hot water flow. if it was above the tank it would likely get a air pocket when pump switched off and the water returned to the tank.
The set up better suits a negative head pump but they cost more.