Hallo, i want to make a GUI with an inputfield to fill with different values separated by komma. I found this CodeSnippet here in this forum but it doesn't work and it does not eliminate the duplicates: Local $arString=StringSplit("19,28,3,17,7",",") ;sorting the array For $i=2 To UBound($arString)-1 If Int($arString[$i-1])>Int($arString[$i]) Then _ArraySwap($arString[$i-1],$arString[$i]) Next Thx furuseth