Anki add-on: put ALL due "learning" cards first (+modified v2 support)

My popular add-on, now updated for Anki 2.1 (old version here: https://ankiweb.net/shared/info/1810271825 ) Yes, I know this has already been ported by a third party. But there is a actually a small tweak to the v2 scheduler in Anki 2.1 that I am adding. Plus, I wrote the first version and I like to keep my add-ons together. v2 scheduler change: I think all learning reviews should come before new cards. Even though Anki 2.1 scheduler v2 does include an option to move the day learning cards ahead of learned cards, it still puts them after the new cards. I fixed that, but I don't use v2 so you will be my test subjects. Compatibility issues Any add-on that overwrites _getCard from sched.py and schedv2.py . Any other add-on that does this will clash with mine. Bugs and other discussions Instead of writing a bug report here, please go to my github. Click the little colored boxes at the top of this post. Original description (from my Anki 2.0 add-on) By default, Anki brings up your daily cards in this order: 1. learning cards that are due 2. (optional) new cards if your preferences are set to have them first 3. review cards 4. "day learning" cards, which are cards in the learning queue that crossed from one day to the next without graduating to the review queue. 5. (optional) new cards if your preferences put them last I didn't like this, so I changed it. The new order is as follows, with the change in bold: 1. learning cards that are due 2. "day learning cards" 3. (optional) new cards if your preferences are set to have them first 4. review cards 5. (optional) new cards if your preferences put them last New v2 changes Anki 2.1 scheduler v2 has the option to bring up your daily cards in this order: 1. learning cards that are due 2. (optional) new cards if your preferences are set to have them first 3. "day learning" cards 4. review cards 5. (optional) new cards if your preferences put them last I have changed it so the option now sets the order: 1. learning cards that are due 2. "day learning" cards 3. (optional) new cards if your preferences are set to have them first 4. review cards 5. (optional) new cards if your preferences put them last

GitHub repository: rjgoif/anki-put-learning-cards-first
Repository description: anki 2.1 port of my old add-on which put your daily learns before your reviews
Languages: Python