Data shaping means processing the data by sorting, grouping, or filtering the data being displayed. Live data shaping takes this one step forward and does the processing on live data. In the case of live data, the new data is being added continuously or the existing data is being changed continuously. Before Version 4.5 of .NET, shaping of live data meant adding custom logic so that sorting and grouping do not go wrong. .NET 4.5 provides a new collection type, which negates the requirement of custom logic for shaping live data.
In this recipe, we will use the new collection type to enable sorting of asset data based on the values that change continuously.