Fixed sorting on the codebases page