first city distance ordering corrected