[Bug 27933] New: Implement "sort" command