Sort app list

For the moment I've just added the sort controls to the category tab. It might be better to add a third tab and make them scrollable horizontally.

I was afraid it would be slow, but it seems to be pretty nippy.