Print path in correct order