diff --git a/src/boards/DeviceFactoryPCIe.cpp b/src/boards/DeviceFactoryPCIe.cpp index 56e431e7..26074feb 100644 --- a/src/boards/DeviceFactoryPCIe.cpp +++ b/src/boards/DeviceFactoryPCIe.cpp @@ -98,6 +98,7 @@ SDRDevice* DeviceFactoryPCIe::make(const DeviceHandle& handle) } std::vector streamEndpoints = GetDevicesWithRegex(handle.name + "_trx*"); + std::sort(streamEndpoints.begin(), streamEndpoints.end()); for (const std::string& endpointPath : streamEndpoints) { streamPorts.push_back(std::make_shared());