mysql methods ordered