Renamed distance to score and reversed the sort order.