diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php
index <HASH>..<HASH> 100644
--- a/mod/assignment/lib.php
+++ b/mod/assignment/lib.php
@@ -1018,7 +1018,7 @@ class assignment_base {
         $table->define_headers($tableheaders);
         $table->define_baseurl($CFG->wwwroot.'/mod/assignment/submissions.php?id='.$this->cm->id.'&amp;currentgroup='.$currentgroup);
                 
-        $table->sortable(true);
+        $table->sortable(true, 'lastname');//sorted by lastname by default
         $table->collapsible(true);
         $table->initialbars(true);
Bug #<I> - Assigment listing shows duplicate names with paged display; merged from MOODLE_<I>_STABLE