Jetpack: Multisite: Move sorting call to prevent sorting an empty array of modules