Refactor page.go
Sort pages case-insensitively.