sort import based on plone.api conventions
fixing code blocks indentation to match our code style