Ensure sorting works correctly for non-distance filter
Update log