Added "csort" function, which replaces "cmpsort" in the listutils module.