Recent Changes - Search:


edit SideBar


Categories: GEN rds-hosted Library Routines

Sort by n-th field 1K

Author: CChris Date: May 3 2006

V1.0 Provides two functions: sort_by_nth_field(source, field_number, direction) and safe_sort_by_nth_field(source, field_number, direction). Borh sort a sequence of records (source) by their (field_number)-th field in (direction) order. The slower safe_ version can cope when the sorting field doesn't exist. A test program is provided too. May 3: Test program repaired and augmented.

Edit - History - Print - Recent Changes - Search
Page last modified on July 17, 2017, at 01:25 PM