female anal gland is larger then the males. so you flip it upside side and look at the females anal if its shaped like a U then its a female and if it looks like a V then its a male
also the characteristic of the fish. i believe males have more bulky body and the dorsal fin is usually longer then the females. the females dorsal fin is sorta round.