Working simple linear
working, signal is not first for some reason on compilation
Trying to fix sort so that right connection order appears