Yes, technically it solves only a subproblem of the general problem of sorting: the case where the number of possible values is bounded.
Yes, technically it solves only a subproblem of the general problem of sorting: the case where the number of possible values is bounded.