Basic sort-join working.