<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Enhanced search functionality now allows users to sort results by publi...
_:warning: Potential issue_
**Handle empty search text to reset search results**
In the `init` block, when collecting `_searchText`, only non-empty search texts trigger a reset of `_searchState` ...
_:hammer_and_wrench: Refactor suggestion_
**Update coroutine library to remove `@OptIn(FlowPreview::class)`**
The `@OptIn(FlowPreview::class)` annotation is used because `debounce` is marked as a...
<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: review in progress by coderabbit.ai -->
> [!NOTE]
> Currently processing new changes ...
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced sorting options in the home screen, allowing users to filter...
_:hammer_and_wrench: Refactor suggestion_
**Refactor `SortBar` to eliminate repetitive code**
The `SortBar` function also contains repetitive `SortingChip` definitions for each `SearchSortTypeUi`...
_:hammer_and_wrench: Refactor suggestion_
**Refactor `SearchByTypeBar` to reduce code duplication**
The `SearchByTypeBar` function contains repetitive code for each `SearchTypeUi` value. Refactor...
_:bulb: Codebase verification_
_:warning: Potential issue_
**`mapToSortingType()` Extension Function Missing for `SortingTypeUi`**
The `mapToSortingType()` extension function for `SortingTypeU...
_:warning: Potential issue_
**Include 'sortType' in 'SearchParameters'**
While you've introduced `_sortingType` to manage the sorting option, the current `SearchParameters` passed to `searchUseCa...
_:warning: Potential issue_
**Ensure 'sortType' affects search results**
In the `onSortClick` function, you're updating `_sortingType` and restarting the pagination. However, unless `sortType` is...
_:hammer_and_wrench: Refactor suggestion_
**Refactor to reduce code duplication**
Both `onSearchByTypeClicked` and `onSortClick` functions share similar logic: they check for a change, update a s...