Test Alexey's sort method