Sort:  

sometimes English could be third language :D even if there are spelling mistakes i would ignore them :D

Well you are not far away from that code :P I won't tell anymore