Modify to allow for proper sorting of both text and menu. Need to change the helper method gists_filter for best results