Sort:  

good to know I wasn't completely off tracks when using a thread then :)