Sort by wait or distance