correct order for ui elements