I have a list box control that contains key value pairs delimited by an “=” sign.
Example:
hot=cold
fast=slow
high=low
blue=red
I have two buttons, one that will sort the list by key and the other will sort the list by pair.
How could I do this using LINQ?
Those are queries that will order the items by the correct portion of the string.