ruby-zed some sorting