Sorting again
Lots of BIP posts to be done, keeping myself busy nowdays. Someone Was wondering in forum, need Explanation on how to use variable in sorting. Well have a look at explanation on Forum to Sorting on template Why not this way ? 1st option: <?for-each:employee?> <?sort: department?> 2nd option: You got to understand, if you assign a value to a variable , its a string 'department' which is being assigned. what you are doing is using a variable in sorting which has string in it, but sort is expecting a element name from the current looping context well, you can do all various complex sorting.. if you have requirement clearly. ex. without changing sort code inside the loop, we can change the sorting column by parameterizing or hard coding at global level. here is the example.