Sort:  

thanks robow, it's pretty much exactly that!