Make finalsink clustering deterministic
requested to merge andrewmichael.gozzard/spiir:agozzard_clustering-determinism into spiir-O4-EW-development
The previous clustering implementation was unnecessarily dependent on the order in which buffers were received, which is nondeterministic. These changes keep the logic as much as possible but use more robust patterns to be less dependent on buffer order.
Edited by Andrew Gozzard