drafts: Fix bug in finding current element.
drafts: Fix bug in finding current element.

We weren't using the actual sorted data to find
the last element.  This probably worked by accident
in some cases, but this commit makes it more
deterministic.

andersk/zulip,brainwane/zulip,zulip/zulip,timabbott/zulip,dhcrzf/zulip,showell/zulip,kou/zulip,showell/zulip,andersk/zulip,rht/zulip,kou/zulip,brainwane/zulip,rht/zulip,shubhamdhama/zulip,andersk/zulip,andersk/zulip,rishig/zulip,hackerkid/zulip,synicalsyntax/zulip,tommyip/zulip,eeshangarg/zulip,showell/zulip,hackerkid/zulip,punchagan/zulip,rht/zulip,zulip/zulip,punchagan/zulip,synicalsyntax/zulip,punchagan/zulip,timabbott/zulip,dhcrzf/zulip,showell/zulip,rht/zulip,rht/zulip,punchagan/zulip,hackerkid/zulip,punchagan/zulip,kou/zulip,rishig/zulip,showell/zulip,rishig/zulip,kou/zulip,brainwane/zulip,punchagan/zulip,shubhamdhama/zulip,zulip/zulip,shubhamdhama/zulip,tommyip/zulip,hackerkid/zulip,eeshangarg/zulip,zulip/zulip,brainwane/zulip,dhcrzf/zulip,tommyip/zulip,eeshangarg/zulip,zulip/zulip,synicalsyntax/zulip,timabbott/zulip,shubhamdhama/zulip,rishig/zulip,timabbott/zulip,hackerkid/zulip,dhcrzf/zulip,dhcrzf/zulip,andersk/zulip,eeshangarg/zulip,synicalsyntax/zulip,hackerkid/zulip,eeshangarg/zulip,timabbott/zulip,tommyip/zulip,timabbott/zulip,rht/zulip,kou/zulip,hackerkid/zulip,synicalsyntax/zulip,rishig/zulip,dhcrzf/zulip,tommyip/zulip,brainwane/zulip,rht/zulip,eeshangarg/zulip,timabbott/zulip,synicalsyntax/zulip,zulip/zulip,shubhamdhama/zulip,tommyip/zulip,showell/zulip,shubhamdhama/zulip,rishig/zulip,synicalsyntax/zulip,zulip/zulip,shubhamdhama/zulip,showell/zulip,brainwane/zulip,andersk/zulip,rishig/zulip,andersk/zulip,kou/zulip,tommyip/zulip,eeshangarg/zulip,brainwane/zulip,punchagan/zulip,dhcrzf/zulip,kou/zulip