Adds OrderBy compare feature.