if the calculated "distance" of caps A and B from the preference are equal, need to keep the original order instead of swap them Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6451>
if the calculated "distance" of caps A and B from the preference are equal, need to keep the original order instead of swap them Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6451>