SELECT * FROM train_details WHERE source_station_code='PNBE' AND destination_station_code='KOAA' order by distance ASC