我有一個映射像的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