fixes sorting in admin by implementing a modified version of the django admin's inlines.js tabularInline method.
fixes some broken imports