Create arraysort

test it, dunno if it works