Fix to sorting option in demo API