It's fairly hard to sex a harlequin rasbora and I don't even bother trying. They are really really docile fish so the mix of the gender isn't really important. If you want them to breed just buy a small school of them and you will be almost guaranteed to get at least one female.