Implemented sorting algorithm.
Merge branch 'feature-sorting' into develop