Genetic algorithim for sorting networks