sorting and favorites complete