replaced msort with bash sort, added processing sketch