我有一个映射像的XElement如下:排序的的XElement
<book>
<author>sadfasdf</author>
<title>asdfasdf</title>
<year>1999</year>
</book>
<book>
<author>asdfasdf</author>
<title>asdfasdf</title>
<year>1888</year>
</book>
<book>
<author>asdfsdf</author>
<title>asdfasdf</title>
<year>1777</year>
</book>
我如何通过作者或标题或一年的图书进行排序?谢谢
我只是想重新排列它。你能提供一个真实世界的例子吗? – pistacchio 2009-06-09 07:10:45