      "collapsed": false
     },
     "outputs": [],
     "source": [
      "def make_order_list(list_in):\n",
      "    order_list = []\n",
      "    for item in list_in:\n",
      "        if item not in order_list:\n",
      "            order_list.append(item)\n",
      "    return order_list\n",
      "\n",
      "def group_ordered(list_in):\n",
      "    if list_in is None:\n",
      "        return None\n",
      "    order_list = make_order_list(list_in)\n",
      "    current = 0\n",
 
</s> remove    "execution_count": 5,
 </s> add    "execution_count": 1, </s> remove     "    if list_in is None:\n",
    "        return None\n",
    "    order_list = make_order_list(list_in)\n",
    "    current = 0\n",
    "    for item in order_list:\n",
    "        search = current + 1\n",
    "        while True:\n",
    "            try:\n",
    "                if list_in[search] != item:\n",
    "                    search += 1\n",
    "                else:\n",
    "                    current += 1\n",
    "                    list_in[current], list_in[search] = list_in[search], list_in[current]\n",
    "                    search += 1\n",
    "            except IndexError:\n",
    "                break\n",
    "    return list_in"
 </s> add     "    # TODO: Implement me\n",
    "    pass"
      "collapsed": false
     },
     "outputs": [],
     "source": [







      "def group_ordered(list_in):\n",
      "    if list_in is None:\n",
      "        return None\n",
      "    order_list = make_order_list(list_in)\n",
      "    current = 0\n",
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 removed my code from challenge 
arrays_strings/group_items/group_ordered_challenge.ipynb