I'm trying to extend dojox.collections.SortedList to allow an ascending or descending sort order based on a boolean passed into the constructor. This is my first go at extending a widget, so I'm hitting a few life cycle problems.
My code is :
// SortedList supporting ascending and descending sort
dojo.provide("gwp.SortedListTwoWay");
dojo.require("dojox.collections._base");
dojo.declare("gwp.SortedListTwoWay", dojox.collections.SortedList, {
sortAsc: true,
constructor: function(/*object*/dictionary, /*boolean*/ sortAscending)
{
this.inherited([dictionary]);
