Comment Comment by Houshalter I considered considering this ridiculously over-complicated approximate solution. Train a neural network to sort with a bunch of examples of sorted arrays. parent Houshalter 13 years ago