I have a context option menu, that I need to re-arrange it in a specific order.
Every row of the option menu should contain only a single item, like Share to Fb, and Share to Twitter are now displayed.
Is it possible to make the option menu “Some warning text…” and “Logout” be on separate rows?

If You’re using default options menu the answer seems to be ‘no’. Android decides itself on placing options.
Probably, You might need to create custom options menu. Please, refer to this guide and this question already asked.