Adding selected class to playlists and order_by

There seems to be an error - committing so I can undo and work out what it is!