cee60adf868375933ac0eb26e1b84048639e804f
braney
  Fri Feb 24 11:07:54 2023 -0800
ongoing work on snakes

diff --git src/hg/hgTracks/bamTrack.c src/hg/hgTracks/bamTrack.c
index f47d36c..e29ef5b 100644
--- src/hg/hgTracks/bamTrack.c
+++ src/hg/hgTracks/bamTrack.c
@@ -425,31 +425,31 @@
 /* When there are many many items, drawing hgc links can really slow us down. */
 {
 }
 
 static int linkedFeaturesCmpOri(const void *va, const void *vb)
 /* Help sort linkedFeatures by strand, then by starting pos. */
 {
 const struct linkedFeatures *a = *((struct linkedFeatures **)va);
 const struct linkedFeatures *b = *((struct linkedFeatures **)vb);
 int ret = a->orientation - b->orientation;
 if (ret == 0)
     ret = a->start - b->start;
 return ret;
 }
 
-static int linkedFeaturesCmpScore(const void *va, const void *vb)
+int linkedFeaturesCmpScore(const void *va, const void *vb)
 /* Help sort linkedFeatures by score (descending), then by starting pos. */
 {
 const struct linkedFeatures *a = *((struct linkedFeatures **)va);
 const struct linkedFeatures *b = *((struct linkedFeatures **)vb);
 int ret = b->score - a->score;
 if (ret == 0)
     ret = a->start - b->start;
 return ret;
 }
 
 static void parseIntRangeSetting(struct trackDb *tdb, char *settingName,
 				    int *retMin, int *retMax)
 /* If setting is an integer range, store the values into retMin and retMax */
 // This is highly similar to lib/wiggleCart.c's static void parseColonRange,
 // though that expects doubles.  For quality scores we do want unsigned.