adding alphabetic sorting
properaly parsing subsample args