Added --by-brief sorting option