removed debugging line for 'sort'feature