id summary reporter owner description type status priority milestone component version resolution keywords cc 309 sort for intvec, list{intvec} Oleksandr somebody "Currently our {{{sort}}} (from {{{general.lib}}}) is abused for sorting intvec/list of intvec's, and it does NOT work if there are negative (and maybe zero) entries: {{{ > sort(3..-3)[1]; 0,1,2,3,-1,-2,-3 > intvec v = 1,10,9,8,7,6,5,2,3,4; > sort(list(-v, v))[1]; [1]: -1,-10,-9,-8,-7,-6,-5,-2,-3,-4 [2]: 1,10,9,8,7,6,5,2,3,4 }}}" bug closed major 3-1-3 and higher singular-libs 3-1-2 fixed sort, intvec