Create a scope named "sorted"