Added fix for recently sorted assignment
Merge pull request #325 from sheebans/master

Added fix for recently sorted assignment