Update sort order