Sort: Add dash options, fix code duplication