fix funding comparator to sort by display index and also support sets