2 deleted 109 characters in body; edited tags
source | link

The goal ifof this Code Golf is to create a program that sorts a list of strings (in ascending order), without using any built-in sort method (such as Array.Sort() in .NET, sort() in PHP, ...). You're also not allowed to use Note that this restriction excludes using a built-in method that sorts an array descending, and then reversing the array.
Some

Some details:

  • Your program should prompt for input, and this input is a list of lowercase strings (no other ASCII-chars, only lowercase letters), comma-seperated (no spaces). For example:

    Your program should prompt for input, and this input is a list of strings containing only ASCII lower-case alphabetic characters a-z, comma-separated without spaces. For example:

    code,sorting,hello,golfcode,sorting,hello,golf
    
     
  • The output should be the given list of strings, but sorted in ascending order, comma-seperated (no spaces). For example:

    The output should be the given list of strings, but sorted in ascending order, still comma-separated without spaces. For example:

    code,golf,hello,sortingcode,golf,hello,sorting
    
     

Good luck!

The goal if this Code Golf is to create a program that sorts a list of strings (in ascending order), without using any built-in sort method (such as Array.Sort() in .NET, sort() in PHP, ...). You're also not allowed to use a built-in method that sorts an array descending, and then reversing the array.
Some details:

  • Your program should prompt for input, and this input is a list of lowercase strings (no other ASCII-chars, only lowercase letters), comma-seperated (no spaces). For example:
    code,sorting,hello,golf
     
  • The output should be the given list of strings, but sorted in ascending order, comma-seperated (no spaces). For example:
    code,golf,hello,sorting
     

Good luck!

The goal of this Code Golf is to create a program that sorts a list of strings (in ascending order), without using any built-in sort method (such as Array.Sort() in .NET, sort() in PHP, ...). Note that this restriction excludes using a built-in method that sorts an array descending, and then reversing the array.

Some details:

  • Your program should prompt for input, and this input is a list of strings containing only ASCII lower-case alphabetic characters a-z, comma-separated without spaces. For example:

    code,sorting,hello,golf
    
  • The output should be the given list of strings, but sorted in ascending order, still comma-separated without spaces. For example:

    code,golf,hello,sorting
    
    Tweeted twitter.com/#!/StackCodeGolf/status/390045386179887104
1
source | link

Sorting a list of strings without using any built-in sort method

The goal if this Code Golf is to create a program that sorts a list of strings (in ascending order), without using any built-in sort method (such as Array.Sort() in .NET, sort() in PHP, ...). You're also not allowed to use a built-in method that sorts an array descending, and then reversing the array.
Some details:

  • Your program should prompt for input, and this input is a list of lowercase strings (no other ASCII-chars, only lowercase letters), comma-seperated (no spaces). For example:
    code,sorting,hello,golf
  • The output should be the given list of strings, but sorted in ascending order, comma-seperated (no spaces). For example:
    code,golf,hello,sorting

Good luck!