The Point values where present in the Points column, which I assumed the value 10 Points, 15 Points are the same values added to the first row.
In this case, How do you get the 15 years, 10 years, 5 years values ?
We maybe able to sort it at the beginning stage and then perform the Merge and Colouring.
@kavya.s16 , Yes, We would like to know what is it’s source, If it was present in a column already, then we could keep the column for sorting purpose, and then after the sorting is done, we could remove the column.
This is an easier approach to tackle from the source itself.
Else it would be a little difficult to perform the sorting or additional steps would be involved for sorting.
@supermanPunch basically there is a datatable of 97 columns and first i need to group them according to a column name YOS and then it results in a list of datatable ,then inside the for each i am sorting it and removing the uncessing columns and just keeping 2 and then merge and color are done only for those two columns
@kavya.s16 , If you are still facing a problem in sorting, Could you let us know How the 15, 10, 5 values are mapped to those table data ?
Maybe tell us what is this value and How you are assigning it to the First, Second and third datatable.
If we get to know where is this data coming from we should be able to sort it.