Implemented order by (and an example linq query to shorten the code)
Put TextReader into a using () because a textreader is a Disposable