Keeping the sort order