check internet connection before open cloud chooser dialog.
apply sort.