enforce sort order