Sort:  

The last illustration in the above article should give you a good idea of what needs to be done. ;)