Work on determining default sort order.