adding sort order