fix #6: allow binary sorting method to be chosen
Merge pull request #7 from gmazurkiewicz/iss6-sorting-algorithm

finally we have sorting algo!