Making Sure the User Doesn't Submit Garbage to woocommerce_sort_product_tabs Function

It's possible for a extension or a user to do something to send the `woocommerce_sort_product_tabs` function any type of parameter when it expects an array.

This pull request checks to make sure it's an array. If it isn't it throws up a warning and it converts the problem variable into an empty array.