COMMONS-341 sort app by priority, name, and registration order