Custom sorting function for match percentage comparison between two product rows. Compares the match percentage of products and returns a sort order value.
Custom sorting function for price comparison between two product rows. Compares the USD prices of products (falling back to raw price) and returns a sort order value.
TanStack sorting comparator that orders two product rows by their normalized
baseQuantity(a missing quantity sorts as 0).