from django.shortcuts import render_to_response
from django.shortcuts import redirect

from models import DownloadLink

def index(request):
    links = DownloadLink.objects.all()
    context = {'links': list(links)}
    return render_to_response('get/listing.tpl', context)

@@ -170,12 +170,22 @@
 cts.
-all(
+order_by('-pk'
 )%0A  

Order download links by pk.