sorting and creation of monicor-app element