SortOrder gives you the ability to return different items based on what option you pass in.
enum SortOrder {
LATEST
OLDEST
SEARCH
}
LATEST
- Return latest (newest) firstOLDEST
- Return oldest firstSEARCH
- Return only episodes that match filtered searchTerm
(another property that should be passed in whenever SEARCH
is chosen as the SortOrder).