Hello guys!
Its my first time posting here, so please let me know if there is something wrong or im missing something with my post.
So my problem is this: I have a list of list of areas, where each list contains four elements, the name of the type of area, the floor the area is situated, the size of the area and finally, the name of the renter of the area. I need to be able to sort the list based on the latter. So that all the areas rented by A is in one list, all areas rented by B is in another, and so on.
I have tried using list.GroupByKey, but with this I am only able to group the renter element, without including the other 3 elements. The point is to calculate the total area of each renter
Thanks!