Add methods for auto joining and sorting