Image sorting via a reduction in travelling salesman problem | Synapse