# Survival Kit, software/Sorting

From this page you can download an R function and its manual. Function *sortSKit* was primarily intended to create an alternative option to sort data files for the Survival Kit ^{[1]}, when using the COX program. Later it was extended to sort text files with sorting criteria up to three columns (both ascending and descending order).

The other option is to use other sorting via operating systems or other sorting routines.

## Usage

edit- Copy the contents of the function
*sortSKit*below, and save it as a*sortSKit.r*file - Open R
^{[2]}(Install it if necessary.) - In R click
*File*->*Source R code...*-> find the*sortSKit.r*on your hard disc and open it. - type
*ls()*in the R console, and see if the*sortSKit*function appeared there - consult the sortSKit manual for the usage

## The Function

edit## References

edit- ↑ Ducrocq, V., Sölkner J.(1998) Proc. 6th World Cong. on Genet. Appl. To Livest. Prod., 27: 447-448.
- ↑ R Development Core Team (2009). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. ISBN 3-900051-07-0, URL http://www.R-project.org.