Navigation Home / Tags / sort

ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

1
Date Submitted Sun. Mar. 23rd, 2014 7:57 PM
Revision 1
Beginner hemtonanto
Tags Bubble | Selection | sort
Comments 0 comments
This program takes input for a 1D array and then uses Selection & Bubble sorting techniques to sort the elements of the array
1
Date Submitted Tue. Jan. 15th, 2008 7:56 AM
Revision 1
Beginner impomatic
Tags corewar | redcode | sort
Comments 0 comments
An implementation of Gnome Sort in 9 lines of Redcode. Smaller and faster than Bubble Sort. Speed increase of .5x^2-2.5x over version 1.
2
Date Submitted Mon. Jan. 7th, 2008 7:49 AM
Revision 1
Beginner impomatic
Tags corewar | redcode | sort
Comments 0 comments
An implementation of Gnome Sort in 9 lines of Redcode. Smaller and faster than Bubble Sort.
6
Date Submitted Fri. Jul. 20th, 2007 11:46 PM
Revision 1
Helper lavaramano
Tags "array" | awk | bash | cat | gnu/linux/cli | less | sort
Comments 5 comments
how to sort words separated by a ','.
15
Date Submitted Sun. Jan. 28th, 2007 1:18 PM
Revision 1
Scripter Fordiman
Tags JavaScript | json | sort
Comments 0 comments
Flexible sorting algorithm based on Quicksort with extra functionality, such as:
- Direction (ie: ascending or descending)
- Sort-by-path (eg: item.name, item.name.firstName or item[5])
- Sorting function (returns true if two items are already sorted)
- Type checking
- All constants and support functions are members of the Sort() function
- Testsuite with hooks for cscript and in-browser javascript, so you can tweak and optimize, and make sure it still works
- Environment agnostic (can use with, say, SpiderMonkey or .Net's jsc)