let suggestedProducts = function(products, searchWord) {
products.sort();
let result = [];
for(let i = 0; i < searchWord.length; i++) {
products = products.filter(p => p[i] === searchWord[i]);
result.push(products.slice(0, Math.min(3, products.length)));
}
return result; //?
};