0

About sorting in java

27th Dec 2016, 1:31 PM
Dhanya
3 Answers
+ 5
var.sort();
27th Dec 2016, 1:35 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
When sorting strings, .sort() method sorts alphabetically, when sorting numbers it sorts from smallest to bigger.
27th Dec 2016, 3:25 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
can u clearly explain about sorting
27th Dec 2016, 2:03 PM
smeily