Sorting a paging grid column that is a nested CDT.

I have a paging grid and in one of the columns the data is from a nested cdt.  While I am able to get the data portion I am unable to sort the column. I've tried using parentfield.childfield , using index function. What is the best or most simple way to go about this? 

  Discussion posts and replies are publicly visible

Parents Reply Children
  • As There are multiple values in each row, Appian doesn't know which one to consider for sorting.
    As far as I understood from what you said. Your data should look like this:
    ID....contact
    1....a,b,c,d,e
    2....b,f,,h,j

    so now, if you want to sort by lastnames(a,b,c,d,e..) Appian is not sure which one to consider. When the 'a' from id 1 is considered with 'b' from id 2 the sorting will not be same as when 'd' from id1 is considered with 'b' from id2.
    Sorting can be done on columns which have only one element per cell.
    Hope this helps.
    Yeswanth.