fix sort on shift reports index.
Merge pull request #1497 from affektive/fix_shift_report

fix sort on shift reports index.