Updating docblocks
Refactoring `array.sort()` to sort `Booleans` based on lexicographical order as `Strings` to maintain existing behaviour with `Array.prototype.sort()` but `Booleans` are sorted before `String` equivalent