Fix the default sorting to persist in Flagged Libraries when clicking `Name`, `Installs`, `Rating` and `Last Updated`

Related to #282