This feature is provided by plugin GitHub - Vinzent03/obsidian-sort-and-permute-lines: Sort and Permute lines in whole file or selection.
So IMHO, this feature request could be archived.
See also very similar request and relevant discussion/comments: