Fixed sorting of the build status column

- Added unit tests for sorting algorithm