Insertion Sort Animation
Have you ever thought about the fastest way to sort N numbers?Last week I wrote a post about the fastest way to sort 3 numbers, this week I show you a tricky way to optimize the sort of N numbers.The problem of sorting an array of numbers is probably the most studied in computer science. The...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (51): THE FASTEST WAY TO SORT N NUMBERS: sortN library Download |
Algorithm::SISort is a Perl module that contains select and insert sorting algorithm. SYNOPSIS use Algorithm::SISort qw(Sort Sort_inplace); @sorted_list = Sort {$_[0] <=> $_[1]} @unsorted_list; # ... or ... $number_of_comparisons = Sort_inplace {$_[0] <=> $_[1]} @unsorted_list; This...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (100): Algorithm::SISort Download |
Visual Sorting is a free and easy to use program created to illustrate the difference between selection sort and insertion sort algorithm. Visual Sorting is written in the Java programming language.
Platforms: Mac
License: Freeware | Size: 10.24 KB | Download (38): Visual Sorting Download |
Sort::Half::Maker is a Perl module to create half-sort subs easily. SYNOPSIS use Sort::Half::Maker qw(make_halfsort); $sub = make_halfsort( start => [ qw(x y z) ], end => [ qw(a b c) ], fallback => sub { $_[0] cmp $_[1] }, ); @list = sort $sub qw(a y f h w z b t x); # qw(x y z f h t w...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (118): Sort::Half::Maker Download |
File::Sort is a Perl module to sort a file or merge sort multiple files. SYNOPSIS use File::Sort qw(sort_file); sort_file({ I => [qw(file_1 file_2)], o => file_new, k => 5.3,5.5rn, -t => | }); sort_file(file1, file1.sorted); This module sorts text files by lines (or records)....
Platforms: *nix
License: Freeware | Size: 32.77 KB | Download (95): File::Sort Download |
Chatbot::Alpha::Sort is a Perl module for alphabetic sorting of Chatbot::Alpha documents. SYNOPSIS use Chatbot::Alpha::Sort; # Create a new sorter. my $sort = new Chatbot::Alpha::Sort(); # Sort your files. $sort->start ( dir => ./before, out => ./after, ext => cba, );...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (99): Chatbot::Alpha::Sort Download |
Download Sort is a Firefox extension that automatically saves downloaded files to different directories when using "Save Link As..." or "Save Image as...".
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (98): Download Sort |
Sort::Versions is a Perl 5 module for sorting of revision-like numbers. SYNOPSIS use Sort::Versions; @l = sort { versioncmp($a, $b) } qw( 1.2 1.2.0 1.2a.0 1.2.a 1.a 02.a ); ... use Sort::Versions; print lower if versioncmp(1.2, 1.2a) == -1; ... use Sort::Versions; %h = (1 => d, 2...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (103): Sort::Versions Download |
Sort::Radix is a Perl module with multiple passes distribution sort algorithm. SYNOPSIS use Sort::Radix; @array = qw(flow loop pool Wolf root sort tour); radix_sort(@array); print "@arrayn"; This is an implementation based on Jarkkos Wolf book (Mastering Algorithms with Perl, pp....
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (99): Sort::Radix Download |
XML::Filter::Sort::BufferMgr is a Perl implementation class used by XML::Filter::Sort. The documentation is targetted at developers wishing to extend or replace this class. For user documentation, see XML::Filter::Sort. Two classes are used to implement buffering records and spooling them...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (94): XML::Filter::Sort::BufferMgr Download |
XML::Filter::Sort::Buffer is an implementation class used by XML::Filter::Sort. The documentation is targetted at developers wishing to extend or replace this class. For user documentation, see XML::Filter::Sort. For an overview of the classes and methods used for buffering, see...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (98): XML::Filter::Sort::Buffer Download |
XML::Filter::Sort is a SAX filter for sorting elements in XML. SYNOPSIS use XML::Filter::Sort; use XML::SAX::Machines qw( :all ); my $sorter = XML::Filter::Sort->new( Record => person, Keys => [ [ lastname, alpha, asc ], [ firstname, alpha, asc ], [ @age, num, desc] ], ); my...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (109): XML::Filter::Sort Download |
Archive sort is a bash script that sorts directories into manageable 4.4GB directories for the purpose of archiving onto DVDs. It is useful if you have several tens or hundreds of GBs of data to archive. It can also be configured to sort into 700MB directories for archiving onto CDs. Usage:...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (102): Archive sort Download |
Sort::Fields is a Perl module that can sort lines containing delimited fields. SYNOPSIS use Sort::Fields; @sorted = fieldsort [3, 2n], @lines; @sorted = fieldsort +, [-1, -3, 0], @lines; $sort_3_2n = make_fieldsort [3, 2n], @lines; @sorted = $sort_3_2n->(@lines); Sort::Fields provides...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (100): Sort::Fields Download |
Term::Animation is a Perl module that provides a framework to produce sprite animations using ASCII art. Each ASCII sprite is given one or more frames, and placed into the animation as an animation entity. An animation entity can have a callback routine that controls the position and frame of...
Platforms: *nix
License: Freeware | Size: 18.43 KB | Download (138): Term::Animation Download |
Genre-sort is a handy Python script that will move/copy mp3s based on their id3 genre tag.. Get Duplicate Music Matcher at SourceForge.net. Fast, secure and free downloads from the largest Open Source applications and software directory. Python script to quickly find duplicate mp3 and ogg files...
Platforms: *nix
License: Freeware | Size: 2.05 KB | Download (103): Genre-sort Download |
Sort::Key is the fastest way to sort anything in Perl. SYNOPSIS use Sort::Key qw(keysort nkeysort ikeysort); @by_name = keysort { "$_->{surname} $_->{name}" } @people; # sorting by a numeric key: @by_age = nkeysort { $_->{age} } @people; # sorting by a numeric integer key: @by_sons =...
Platforms: *nix
License: Freeware | Size: 56.32 KB | Download (94): Sort::Key Download |
Sort::ArbBiLex is a Perl module that can make sort functions for arbitrary sort orders. SYNOPSIS use Sort::ArbBiLex ( fulani_sort, # ask for a &fulani_sort to be defined "a A c C ch Ch CH ch Ch CH e E l L lh Lh LH n N r R s S u U z Z " ); @words = <>; @stuff =...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (89): Sort::ArbBiLex Download |
Everyone knows that the contacts (and address book) sort order can be changed from first name, last name order (which is the default) to last name, first name order.
However, once the order is set, confusion sets in because it only works for new entries. All your existing entries must be...
Platforms: Windows, Windows Vista, 7
License: Freeware | Download (52): Contacts Sort Order Download |
This simple mod replaces the /- symbols that are used to show the sort order on the product listing pages with small dark gray arrows. The provided arrows are transparent and should work with all color schemes. They could easily be replaced with your own arrows as well.
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (51): Column Sort Arrows Download |