[python/applist]: make AppList.sorted be an instance method that operates on the cache

... and not an arbitrary Python list as before.