Added a null check to sorting algorithm.
Merge pull request #695 from jeffreythomas/dev

Added a null check to sorting algorithm.