Bug 42593

GemStone/S 64 Bit

3.1.0.6, 3.1.0.5, 3.1.0.4, 3.1.0.3, 3.1.0.2, 3.1.0.1, 3.1, 3.0.1, 3.0, 2.4.8, 2.4.7, 2.4.6, 2.4.5.1, 2.4.5, 2.4.4.8, 2.4.4.7, 2.4.4.6, 2.4.4.5, 2.4.4.4, 2.4.4.3, 2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4, 2.3.1.6, 2.3.1, 2.3, 2.2.5.4, 2.2.5.3, 2.2.5.x, 2.2.5, 2.2.4, 2.2.3

All

3.2

Inconsistent behavior for sortAscending for Dictionaries

The methods sortAscending, sortAscending:, sortDescending, sortWith: and
so on, are legacy GemStone protocol that historically operated on the elements
of Dictionaries as the associations, and return the associations sorted
by each association's key. ANSI considers the "elements" of a Dictionary
to be the values, not associations, so results would be the values, sorted
by value.

The behavior of these methods was updated to adhere closer to the ANSI
concept of Dictionary. This is a difference both in the type of object
in the returned collection, and the order of the results.

However, the methods sortAscending:, sortDescending, and sortWith: were
not updated and still return Associations sorted by key.

Starting with v3.2, all these methods follow the ANSI behavior.


                

Last updated: 5/6/14