I have a GridView being populated from a non-SQL database that we use internally. One of those fields is a stockroom location. (Example: AAA, AAB, AAC, etc.)
In another database (SQL) I keep a list of all stockrooms and give them a weight. The weight is just an integer; the higher the integer, the further away the stockroom is.
I need to sort my GridView based on those stockroom weights. How can I have my GridView sort depend on data from another table? This seems like it should be an easy solution, but I'm getting stuck. If it matters, the GridView is bound to a System.Collections.ObjectModel.Collections<> class.