adjust some comments and style
finishig processing of sorted tracks by pt (decreasing)