Is it possible to do conditional asset sorting on an asset listing page?
For instance, we want to customise a news item feed by using cookies that are triggered by a select menu which cause a trigger to fire which places public user in a defined user group for a session (this functionality we already have working).
Works a treat in combination with setting conditionals on standard pages. However for something more complex we use an asset listing page to produce a list of news items. I have setup a special metadata field called "featured", when you check it for a particular item - it then becomes a 'sticky' and gets featured on top of the list.
Now to push the envelope further, I have been asked if the particular feature item will only show when it matches the category for the user group. I also have a metadata field setup where the news item can be allocated a category (X,Y,Z).
So I am looking for...
IE User group XX should only see featured item XX above all the news items
User group YY should only see featured item YY above all the news items.
I'm unsure as to how to accomplish this. Has anyone out there got some ideas?