I am working on a conference application in which we want sessions to be grouped by time first and then by room location. I successfully sorted one by one or the other in my ExpandableListActivity, but failed with primary and secondary sorting.

(source: coreylatislaw.com )
Tune
- Custom Content Provider (Extends ContentProvider)
- Custom list adapter (extends BaseExpandableListAdapter)
- Custom action list (extends ExpandableListActivity)
Inquiry
Cursor cursor = context.getContentResolver() .query(uri, ScheduleData.PROJECTION, null, null, ScheduleData.SORT_ORDER);
The sort order
public static final String SORT_ORDER = TimeSlots.QUALIFIED_TIMESTART + " ASC";
Failed to Fulfill Primary & Secondary Sort Orders
public static final String SORT_ORDER = TimeSlots.QUALIFIED_TIMESTART + " ASC, " + Locations.QUALIFIED_NAME + " ASC";
The second point does not seem to affect the order. Is this a limitation of ExpandableListActivity? Should I specify multiple sort order items in different ways?
source share