change default sort priority on dip
add sort by distance on dip