Made renderWidgets sortable