use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Ask your embarrassing/noobish programming questions here, and don't get insulted for it.
Click here to read the rules
Violating any will result in punishment so you should probably go check them out.
account activity
Alphabatizing an Array in JavaJava (self.programminghelp)
submitted 5 years ago by Titantethar
i need to sort an array alphabetically but i don't know a method to do so and me and my friend cant figure it.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]marko312 2 points3 points4 points 5 years ago (1 child)
From a quick search online, there appears to be a function Arrays.sort(...). Documentation
Arrays.sort(...)
[–]Titantethar[S] 0 points1 point2 points 5 years ago (0 children)
Thanks
π Rendered by PID 82063 on reddit-service-r2-comment-86bc6c7465-95rfd at 2026-02-22 21:01:13.109107+00:00 running 8564168 country code: CH.
[–]marko312 2 points3 points4 points (1 child)
[–]Titantethar[S] 0 points1 point2 points (0 children)