updated sort order