A small sorting library