Minor sorting and documentation updates for stats
Add utils module