Order based on timestamp in a single file

view story

http://www.unix.com – Hi All, I have a large text file which is a combination of multiple files. This is what I used and it worked. Code: for i in /home/docs/text/*  do  cat $i >> Single_File  done Now wondering, if there is a way to sort that single large file based on timestamps in ascending order. Text file look something like this Code: [20100623 07:55:52.61|DEBUG  |#000062|test123 "GET /PowerBuilder/Compny3.htm HTTP/1.0" 200 5593  CRequestWrapper: Destructor - object 123456789 cleaned up [20100621 06:55:52.61|INFO |#000051|test123 "GET /PowerBuild (HowTos)