added popup for option --sort-empty