Sort list after sync and api uri in module case

Jira Issue: WP-1264