How about:

```el
(if cljr-auto-sort-ns 
  (cljr-sort-ns)
  (indent-region beg end))
```
because I think `cljr-sort-ns` will indent the code properly.