Has anyone implemented a repeating group that is sorted by relevance to the current user?
To give an example, let’s say a user is browsing a list of products and there are A products and B users. Ideally I’d like to have a 2-dimensional array “RelevanceScore” of size AxB, where RelevanceScore[i][j] quantifies how relevant Product i is to user j. Ideally, I’d want the Repeating Group to be sortable by RelevanceScore[i][current_user].
Is this possible within the “sort by dynamic field” function? Are there any workarounds that others have explored or APIs / plugins worth digging into? Thanks!