Do not use create_function for sorting preferred languages