Order two numerical lists: Difference between revisions

Go solution
(added ocaml)
(Go solution)
Line 15:
(list< (rest a) (rest b)))
(t (< (first a) (first b)))))</lang>
=={{header|Go}}==
For numbers in the range 0 to 255:
<lang go>func OrderTwoNumericalLists(a, b []byte) bool {
return string(a) < string(b)
}</lang>
 
=={{header|Java}}==
{{works with|Java|1.5+}}
1,707

edits