private static uint CustomChannelCountSorting(InputstreamInfo i)
{
var channelCount = i.Channels;
// Gives mono channels a higher number, so they are not preferred over stereo in ascending order.
if (channelCount == 1)
channelCount *= 10;
return channelCount;
}