Arch script to fetch and sort mirrorlists. More information: https://manned.org/reflector.
sudo reflector --sort {{rate}} --save {{/etc/pacman.d/mirrorlist}}
reflector {{[-c|--country]}} {{Germany}} {{[-p|--protocol]}} {{https}}
reflector {{[-l|--latest]}} {{10}}
sudo reflector @{{/etc/xdg/reflector/reflector.conf}}
reflector {{[-h|--help]}}