Megatest

Diff
Login

Differences From Artifact [ea9316dcf0]:

To Artifact [df0771f76d]:


241
242
243
244
245
246
247



248

249
250
251
252
253
254
255
241
242
243
244
245
246
247
248
249
250

251
252
253
254
255
256
257
258







+
+
+
-
+







					;(print "Removing " basetname " from items")
			      #f)
			     (else #t))))
			inlst))
	 (vlst  (run-item-name->vectors newlst))
	 ;; sort by second field
	 (vlst-s1 (sort vlst (lambda (a b)
			       (let ((astr (vector-ref a 1))
				     (bstr (vector-ref b 1)))
				 (if (string=? astr "") #f #t)))))
			       (>= (string-length (vector-ref a 1))(string-length (vector-ref b 1))))))
			;; (>= (string-length (vector-ref a 1))(string-length (vector-ref b 1))))))
	 (vlst-s2 (sort vlst-s1 (lambda (a b)
				  (string>= (vector-ref a 0)(vector-ref b 0))))))
    (map (lambda (x)
	   (if (equal? (vector-ref x 1) "")
	       (vector-ref x 0)
	       (conc (vector-ref x 0) "(" (vector-ref x 1) ")")))
	 vlst-s2)))