Click here to Skip to main content
15,666,947 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I was just wonering if anyone could tell me how to sort these strings Alphabetically with a selection sort Alphabetically

public void addCo() {
    String competition = null;
    Competition com = new Competition(competition);
paul power 18-Apr-14 15:48pm    
I cant use java's sort method, I'm using it for college and i have to implement my own

Maybe that can be helpful:
Selection Sort In Java[^]
Share this answer
Selection sort is a pretty simple algorithm. You could start from its Wikipedia page: "Selection sort"[^].
Share this answer
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900