Michael Haggerty <mhag...@alum.mit.edu> writes: > It is interesting that you consider the sort order of string_list to be > somewhat of an internal implementation detail. I had thought of its > current behavior as being the obvious thing and considered it part of > the API's contract. For example, the current sort order is already > observable via the API through iteration or by calling > print_string_list().
You can prepare an unsorted string list that holds items in the order you desire, and call print_string_list() on it. I do not think we ever promised to keep using the same sort order when you allow the string list to use sorted insertion by calling the "sorted" API functions. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html