Little fix in array sorting 2