Thinning bugs in samc.pyx
Adds sorting in report.py