michael@0: function f() { michael@0: a = arguments; michael@0: return a[0] - a[1]; michael@0: } michael@0: michael@0: [1,2,3,4].sort(f);