I have some data that needs sorting. The problem is that once the if condition is fulfilled by a value, that value gets sorted and cant be accessed again. As an example, say I need to sort one value into two categories. For the sake of the example let this be that I have the following task:
So basically I want to assign the value 'red' to its own category and to 'RGB'. How is that done?
I've been struggling with this for a long time now.