sorted path