010_sort: added some constraints.