The only path

Does anyone know why the function reduce like following returns all the path between two noeds, not the only path with the shortest time?

match (a:station {name:"Mermoz"}),(b:station{name:"Brombach"}),
with p,reduce(s=0,r in relationships(p) |s+r.duree)AS temps
return p ORDER by temps ASC LIMIT 1

You might need to disable "connect result nodes" in your neo4j browser sidebar settings.