How to apply an alphanumeric sort in XSLT
问题 Based on the following XML, what is the best way to achieve an alphanumeric sort in XSL? Edit : to clarify, the XML below is just a simple sample the real XML would contain much more variant values. <colors> <item> <label>Yellow 100</label> </item> <item> <label>Blue 12</label> </item> <item> <label>Orange 3</label> </item> <item> <label>Yellow 10</label> </item> <item> <label>Orange 26</label> </item> <item> <label>Blue 117</label> </item> </colors> E.g. I want a final outcome in this order: