version compare method moved to NSString category