Edit This Code:
See Result »
Click the table headers to change the sorting order:
Name
Country
{{x.name}}
{{x.country}}
Result: