I need some help to sort this data out, i have an array of products and i need to sort and display by settings configuration. The output must have the same order as settings