@orta => Added sorting capability to listings view controller

Note that the snapshot tests reflect the content of the collection view, but not the content of the switch view, which is kind of confusing. I didn't know how to simulate a button press from within a test, so I just inserted a test double for the selected index signal. Might address this in a later PR.