series sort and serie name optimization