Sortable

Added fields to facilitate sorting.