remove unwanted args
added sort pipe