Fixed EPR - 379907 - the stable sort issue when the input buffer contains lot of equal values.
The upperBoundBinary Kernel resulted in a hot loop as it was a linear search.
Due to this hot loop the kernel became un-responsive.
Fix - Implemented the binary search for the hot loop.