Fixes #5938: add sentence method in Arrayhelper for convert the array to...

... a comma-separated sentence
Please use camelCase for option names as well as variable names for consistency with other core code.