Added test for sorting and --nosort option.
Authored by: gumpu 2004-05-03
Parent: [r344]
Child: [r346]