Bug fix: return automatically if array size is less than 2.
Correct typos
Work with array only if it has greater than 0 element(s).
Verify sorting functions with negative and 0 element in them.