Adding filter and server-side sorting to add layer modal in composer