implemented option sort functionality
Merge branch 'master' of https://github.com/dzigerlig/CDAR.git