0

How to sort arrays?

I made a database on Java. I don't know how to sort it by id, name etc

18th Oct 2018, 3:20 PM
ŠœŠ°Ń€Š»ŠµŠ½ Š”ŠµŠ¹Ń‚Š¾Š²
ŠœŠ°Ń€Š»ŠµŠ½ Š”ŠµŠ¹Ń‚Š¾Š² - avatar
3 Answers
+ 1
Here is a simple sorting technique : https://code.sololearn.com/cxjhxc6ywwqL Hope it helps. :)
26th Oct 2018, 11:21 AM
Dinesh Bala
Dinesh Bala - avatar
0
Depending how you stored it, there might be a builtin sort you can use. https://www.geeksforgeeks.org/arrays-sort-in-java-with-examples/
18th Oct 2018, 4:12 PM
John Wells
John Wells - avatar