Update service.py

Support for preferred language sorting