Sort:  

Thanks @zyx066. It took me a couple of days, but i am glad it proved worthwhile.