sorting in cmd.c
comment fixed.