SELECT * FROM train_details WHERE source_station_code='PUNE' AND destination_station_code='CSTM' order by distance ASC