orderWidgetsByPosition partial implementation and javadoc fixes