Former sheriff ordered back to jail