write a way of data type errors in error-HandingStrategies.js
write a avoiding way of data type errors in error-HandingStrategies.js
write a safe function of reverseSort in error-HandingStrategies.js