guests controller sorting