Sort memegen search results by ranking; fix #207