Merge branch 'release/0.2.5'
Merge branch 'release/0.3.0'
sort by batch if monoid is commutative
Merge pull request #411 from singhala/sort_by_batch

sort by batch if monoid is commutative (develop)