add build_sort_feature