next attribute confuses 2to3
Sorting of Nones
none to 0
Merge pull request #380 from tiagoantao/master

A next and a sort