This story is just a follow up to one of my previous stories available here.
The pipe previously designed works for both single dimensional & multi dimensional array, but the array was not considering case insensitivity for performing the sorting and strong type checking. Hence, based on the comments i have re-iterated the existing logic to work for even casing related scenarios.
The pipe now takes another parameter to determine whether it is case sensitive or insensitive. The parameter accepts a boolean by default it is set to false making it case sensitive, switch to true if you want it to be case insensitive. A working demo is available on stackblitz.
I have made few fixes, based on inputs received from the readers. I would thank them to help me out in finding the flaws in the pipe.