"Sort by" stops working after changing "view as" option on oreo music player

Expected behavior

I expect that after changing the "view as" from list view to grid view, or vice-versa that the "album" section and "artist" sections Oreo Player will be sorted by the selected "sort by" option.

Actual behavior

After changing the "view as" from list view to grid view or vice-versa, the "sort by" option stops working.

How to reproduce

  1. Download Oreo Music Player from F-droid
  2. Launch the application
  3. Navigate to the "albums" section or "artist" section
  4. Try that the "sort by" is working prior to changing the "view as" by clicking the three dotted menu by the top right and trying different "sort by" options. You see that the "sort by" is working fine.
  5. Now go to the menu and click on "view as". Change the "view as" from list view to grid view or vice-versa.
  6. Try changing the "sort by" option and you see that the "sort by" stopped working after "view as" have been changed.
  • Device: Tecno Camon CX
  • Operating system: Android 7
  • Application Version: version 0.2

Recording Of The Bug

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now