adding sort on example page