At last a working sort