Fix up 'Last translated' column sorting features in version page

- Fix up 'Last translated' column sorting features in version page
- Rename stats to status in xhtml
- apply code formatting