Completely support all standard list.sort args in Structure.sort and
IStructure.get_sorted_structure.
Improve doc.