[PATCH 5.15 448/565] tracing: Fix cmp_entries_dup() to respect sort() comparison rules