Datagrid - sort within column

Hi, Let’s assume we have two entities, a group of users might have access to certain buildings, a building might be accessed by different groups: Now we have a page with a datagrid for the buildings with a column that refers to the groups having access which looks like this: How can I sort the entries such that they read “A, B, C” instead of “A, C, B”?  
1 answers

Hi Erwin,

Couple of things:

  1. The order IMHO, is the way (in the order) the groups were associated to the building (you could test it and check if it indeed happens)
  2. I don’t think there is a way to sort your association, you may have to create your own attribute if you really need to display it in sorted order – but it could be a lot of hassle

Maybe other makers have better ideas :)